Reading this thread about how transaction outputs are split due to "change" made me wonder how the bitcoin network knows you own that second address. How does your wallet/client display the correct balance, if it's unknown to everyone else that the second address is yours?
I'm assuming it has something to do with the wallet and accounts... if so, how can you find the "account" that corresponds with that address?
dumpprivkey
on the change address generated by my last transaction, and it worked. However,getaccount
returned nothing. I'm guessing an account is a separate thing, and the relation between addresses and accounts in your wallet is not 1 to 1? – bvpx Aug 01 '13 at 17:18