Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: TechnoBibble on January 23, 2015, 03:47:12 PM



Title: Bitcoin JSON RPC - Account has bigger balance than entire wallet?
Post by: TechnoBibble on January 23, 2015, 03:47:12 PM
Hi,

I am looking at the account system for a client I am working with and I have made a withdrawal script which works fine and shows the amount has gone from the wallet however the amout never clears from the account?

Is this expected behaviour? is there a way I can clear the account after the withdrawal is made?

Quote
btc@accountsrv:~$ bitcoind getbalance
0.00000000
btc@accountsrv:~$ bitcoind getbalance 21
0.00500000


Title: Re: Bitcoin JSON RPC - Account has bigger balance than entire wallet?
Post by: 2112 on January 23, 2015, 06:24:45 PM
The account system within Bitcoin Core is conceptually broken and will be depreciated. Do not use it.

To directly answer your question: you probably have some other "accounts" with negative balances that altogether sum to zero.


Title: Re: Bitcoin JSON RPC - Account has bigger balance than entire wallet?
Post by: TechnoBibble on January 23, 2015, 06:29:07 PM
The account system within Bitcoin Core is conceptually broken and will be depreciated. Do not use it.

To directly answer your question: you probably have some other "accounts" with negative balances that altogether sum to zero.

Thanks for your answer, I will find another method to manage this clients payments.