Bitcoin Forum
April 26, 2024, 11:22:36 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Offline transactions for very active addresses  (Read 801 times)
rjk (OP)
Sr. Member
****
Offline Offline

Activity: 448
Merit: 250


1ngldh


View Profile
May 22, 2012, 02:25:28 PM
 #1

So I am continuing to gain understanding of the protocol and how it works, but there are still a few things I wonder about. The following is one of them.

Let us assume that there is a single address (donation address, or whatever), that collects coins on a fairly regular basis, let us say every few minutes or so. This address is in an offline wallet that is never brought online.

Now let us assume that the owner of the wallet wished to spend some of the coins contained therein, and went to the computer that was offline and not connected and created an offline transaction. Perhaps using Armory or any other software that supports creating offline transactions.

Then, before he has a chance to broadcast the transaction to the network, another donation is sent, or more coins show up at the address for whatever reason. What I want to know is, is the offline transaction that was created now invalid? Does the user have to go back and create another transaction to take into account the new balance? As I understand it, each transaction must completely spend all of the balance in an address, and cannot spend it partially. Any overages are split and sent back to a change address. If using specialized software, the change address can be the same as the sending address.

Since the balance was incremented, the offline transaction that he created does not take that into account, which would seem to make it invalid. Is this accurate, and if so what can be done in this situation? If it is not accurate, could someone with a better understanding of the system than me please explain it?

Mining Rig Extraordinaire - the Trenton BPX6806 18-slot PCIe backplane [PICS] Dead project is dead, all hail the coming of the mighty ASIC!
1714173756
Hero Member
*
Offline Offline

Posts: 1714173756

View Profile Personal Message (Offline)

Ignore
1714173756
Reply with quote  #2

1714173756
Report to moderator
1714173756
Hero Member
*
Offline Offline

Posts: 1714173756

View Profile Personal Message (Offline)

Ignore
1714173756
Reply with quote  #2

1714173756
Report to moderator
The block chain is the main innovation of Bitcoin. It is the first distributed timestamping system.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714173756
Hero Member
*
Offline Offline

Posts: 1714173756

View Profile Personal Message (Offline)

Ignore
1714173756
Reply with quote  #2

1714173756
Report to moderator
1714173756
Hero Member
*
Offline Offline

Posts: 1714173756

View Profile Personal Message (Offline)

Ignore
1714173756
Reply with quote  #2

1714173756
Report to moderator
ribuck
Donator
Hero Member
*
Offline Offline

Activity: 826
Merit: 1039


View Profile
May 22, 2012, 02:53:23 PM
 #2

As I understand it, each transaction must completely spend all of the balance in an address
No, a transaction only needs to completely spend all the balance of one payment that was received by an address, not all payments that were received by the address.
rjk (OP)
Sr. Member
****
Offline Offline

Activity: 448
Merit: 250


1ngldh


View Profile
May 22, 2012, 02:55:43 PM
 #3

As I understand it, each transaction must completely spend all of the balance in an address
No, a transaction only needs to completely spend all the balance of one payment that was received by an address, not all payments that were received by the address.
Very good, I understand now. It makes total sense.

Mining Rig Extraordinaire - the Trenton BPX6806 18-slot PCIe backplane [PICS] Dead project is dead, all hail the coming of the mighty ASIC!
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!