Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: shark255 on September 30, 2014, 11:01:26 AM



Title: balance differs from bitcoind and bitcoin-qt
Post by: shark255 on September 30, 2014, 11:01:26 AM
When I run command

Quote
bitcoin-cli getbalance

It returns more amount of coins, when I see in bitcoin-qt.

Any suggestions?


Title: Re: balance differs from bitcoind and bitcoin-qt
Post by: shorena on September 30, 2014, 11:05:35 AM
Got unconfirmed TXs? IIRC getbalance by default requests the balance of all accounts and the TXs must have 1 or more confirmations.


Title: Re: balance differs from bitcoind and bitcoin-qt
Post by: CIYAM on September 30, 2014, 11:06:17 AM
You might want to try this:

Code:
getbalance * 0

or this:
Code:
getbalance "" 0

(assuming that the problem is unconfirmed amounts)