Post
Topic
Board Beginners & Help
Re: API: keeping account balance positive (+knowing in advance the transaction fee)
by
davout
on 06/12/2012, 19:37:02 UTC
sendfrom() makes balances go negative by the fee amount if someone withdraws all coins.

yeah that is exactly my "problem 2", thanks for understanding that.
I've reported it as a bug, hoping they do consider it a bug.

@davout: yeah, I'm doing a move there. It is "problem 1", listed in the opening post.
I've fixed it hacking bitcoind code, though.
If it's as you say it is indeed a bug that needs to be fixed.
If I was you I would simply not use the accounting feature.
It just doesn't scale well.