Author

Topic: bitcoind - move. Ending up with a negative balance (Read 815 times)

newbie
Activity: 29
Merit: 0
I've just submited a pull request to the official repo that (somehow) fix this behaviour :

https://github.com/bitcoin/bitcoin/pull/2703

But I just got GTFO'd Smiley

legendary
Activity: 3472
Merit: 4801
"Accounts" in bitcoind (or Bitcoin-Qt) tend not to work the way most people seem to expect them to.

Here is a thread with some discussion about "accounts":
https://bitcointalksearch.org/topic/poll-accounts-in-bitcoind-100944

Hopefully, you'll find some useful information regarding your issue there.
newbie
Activity: 29
Merit: 0
Hey,

I'm facing something I don't understand.
How come it's possible using bitcoind that you can move money from one account to another (same wallet) you don't have, and ending up with a negative balance? Even specifying a minconf.

E.g.

Code:
~$ ./bitcoind move AccountA AccountB 10 6
true

So here I move 10 from AccountA to AccountB and specify a minconf of 6.
The thing is that AccountA had a balance of 0.1.

Querying the balance of AccountA now give me a negative value (again, even if I specify a minconf).

Code:
~$ ./bitcoind getbalance AccountA 6
-9.9

FWIW, I'm using the last official release of bitcoind (v0.8.1-beta).

Isn't "move" supposed to check the balance of the sender account? (what would [minconf] argument use for otherwise)

Any insight?

Thanks
Jump to: