I try to send money:
user@computer:~/dev/bitcoin/src$ ./bitcoind listaccounts
{
"" : 0.00000000,
"wallet" : 16.00000000
}
user@computer:~/dev/bitcoin/src$ ./bitcoind sendfrom wallet 1Gxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx 4
c8xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
user@computer:~/dev/bitcoin/src$ ./bitcoind listaccounts
{
"" : 0.00000000,
"wallet" : 12.00000000
}
At this point I check blockchain.info and find out that 3.4 BTC was sent to another account, 1Fxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
I get confused and worried. I check if I own that account:
user@computer:~/dev/bitcoin/src$ ./bitcoind getaddressesbyaccount ""
[
"12xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
]
user@computer:~/dev/bitcoin/src$ ./bitcoind getaddressesbyaccount wallet
[
"1Gxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"13xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
]
I don't known the account and freak out and almost post on a forum asking for help figuring out what happened. Then I suspect that my bitcoin client still knows where the money is since it's showing a balance of 12.00000000.
Then I attempt to send the full 12.00000000 to another account and succeed.
Is this a bug? Where is the private key for 1Fxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx? Why was anything sent to 1Fxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx? I read that bticoind pre-generates addresses and puts them in a queue. If this is the next account that was pre-generated, why wasn't it added to any account? This really looks like a bug to me. Can I check what addresses are currently pre-generated or something like that?
Can someone help me figure out what happened?