Bitcoin Forum
November 13, 2024, 05:44:28 PM *
News: Check out the artwork 1Dq created to commemorate this forum's 15th anniversary
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Negative balance  (Read 566 times)
Ins (OP)
Full Member
***
Offline Offline

Activity: 196
Merit: 100


View Profile
February 09, 2014, 11:12:18 AM
 #1

Anybody can explain me, I have Bitcoind.
Three accounts.
bitcoind getbalance "" 0  / -0.52829038
bitcoind getbalance 1 0   /  0.08315228
bitcoind getbalance 3 0   /  1.03947556
bitcoind getbalance   / 0.09433746
I have one 0.5 BTC unconfirmed transaction.
Why first account has negative balance, and third is 1.03 BTC and "1" has 0.083
So output of getbalance after confirmation for 0.5 BTC should be 1.11 BTC? Isn't it?
maaku
Legendary
*
expert
Offline Offline

Activity: 905
Merit: 1012


View Profile
February 09, 2014, 12:00:33 PM
 #2

The "accounts" feature of bitcoind is a single-entry ledger that really has nothing to do with the block chain at all, or even the generally accepted principles of accounting. It is an unfortunately named feature meant for a particular use case that is now somewhat anachronistic.

But anyway, your "" account has a negative balance because you moved funds out of it, or tagged some transaction moving funds out of your wallet.

I'm an independent developer working on bitcoin-core, making my living off community donations.
If you like my work, please consider donating yourself: 13snZ4ZyCzaL7358SmgvHGC9AxskqumNxP
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!