Author

Topic: Hypothetical Bitcoin client question (Read 701 times)

member
Activity: 84
Merit: 10
I need an new box...
June 22, 2011, 05:58:51 PM
#4
Ok, thanks guys. I sometimes need to be hit with The Obvious StickTM for things to sink in and stay Grin
legendary
Activity: 1708
Merit: 1010
June 22, 2011, 05:16:18 PM
#3
Yes, it's A.  The client doesn't care that you are sending your coins to your own address, the transaction still has to be included into a block just the same.
hero member
Activity: 590
Merit: 500
June 22, 2011, 04:14:22 PM
#2
it's A.

The balance won't have transferred between the addresses until the transaction is included into a block, which B and C wouldn't allow for.  D obviously doesn't happen.
member
Activity: 84
Merit: 10
I need an new box...
June 22, 2011, 03:51:25 PM
#1
Scenario: You have a bitcoin wallet with five addresses, each of which has received some bitcoins. The wallet holds a total of 10.01 BTC. You have the wallet generate a new address and then tell the client to send 10 BTC to that new address with a fee of .01 BTC. What happens next?

A. The 10.01 BTC is sent out to the network from the five addresses (zeroing them out). 10 BTC is returned to the new address from the network which collects the .01 BTC as a fee.

B. The client consolidates the five addresses into the sixth address locally and then sends a ledger update onto the network with the .01 BTC fee.

C. The client sees that it is simply sending bitcoins to itself since it holds both addresses and does nothing.

D. The client doesn't know how to handle having both addresses and crashes.

E. Something else.

Logically, it should be option A that happens although option B is also a possibility... but what really does happen?
Jump to: