Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: joeyjoe on September 09, 2011, 12:36:23 AM



Title: GetBalance - is actual balance?
Post by: joeyjoe on September 09, 2011, 12:36:23 AM
When using "GetBalance" - does this return the actual balance of the account that can be transfered?

probally a stupid question but im worried as when i done ListAccounts - one of the accounts is: "" : -16.68550000,

and im worried that somthings messed up


Title: Re: GetBalance - is actual balance?
Post by: Pieter Wuille on September 09, 2011, 07:52:28 AM
See https://en.bitcoin.it/wiki/Accounts_explained (https://en.bitcoin.it/wiki/Accounts_explained).

Accounts are virtual accounting tools, and their balance is not linked to any real coins. The sum of all account balances should equal your actual wallet balance though, and should never be negative.


Title: Re: GetBalance - is actual balance?
Post by: joeyjoe on September 09, 2011, 11:50:20 AM
ah thanks.

just some old accounts on there with all sorts of balances!