Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: masterluc on September 16, 2013, 03:46:07 PM



Title: How to fix wallet accounts?
Post by: masterluc on September 16, 2013, 03:46:07 PM
I submitted issue (https://github.com/bitcoin/bitcoin/issues/3002), but can't wait too long. Is there any way to get bitcoind recalculate account balances? -rescan and updatewallet do not help.

[user@localhost ~]$ bin/bitcoind getinfo
{
"version" : 80500,
"protocolversion" : 70001,
"walletversion" : 10500,
"balance" : 0.10000000,
"blocks" : 258337,
"timeoffset" : -1,
"connections" : 8,
"proxy" : "",
"difficulty" : 112628548.66634709,
"testnet" : false,
"keypoololdest" : 1327805721,
"keypoolsize" : 101,
"paytxfee" : 0.00000000,
"errors" : ""
}

[user@localhost ~]$ bin/bitcoind listaccounts
{
"" : -20231.03669102,
"acc*" : 0.00000000,
"acc*" : 50.00000000,
"acc*" : 0.00000000,
"acc*" : 7.00000000,
"acc*" : 50.00000000,
"acc*" : 5905.00000000,
}


Title: Re: How to fix wallet accounts?
Post by: masterluc on September 16, 2013, 04:47:49 PM
Resolved by moving all account balances to "" using move command. Thanks to gmaxwell. But why this mess appeared - this is open question. However I don't care anymore.