Bitcoin Forum
February 25, 2017, 11:04:00 PM *
News: Latest stable version of Bitcoin Core: 0.13.2  [Torrent]. (New!)
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Offline transactions for very active addresses  (Read 641 times)
rjk
Sr. Member
****
Offline Offline

Activity: 420


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!
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1488063840
Hero Member
*
Offline Offline

Posts: 1488063840

View Profile Personal Message (Offline)

Ignore
1488063840
Reply with quote  #2

1488063840
Report to moderator
1488063840
Hero Member
*
Offline Offline

Posts: 1488063840

View Profile Personal Message (Offline)

Ignore
1488063840
Reply with quote  #2

1488063840
Report to moderator
ribuck
Donator
Legendary
*
Offline Offline

Activity: 826


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
Sr. Member
****
Offline Offline

Activity: 420


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:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!