Bitcoin Forum
April 26, 2024, 10:06:57 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: bitcoind move() question  (Read 416 times)
whitehawk501 (OP)
Newbie
*
Offline Offline

Activity: 8
Merit: 0


View Profile
February 27, 2013, 09:22:30 PM
 #1

I'm trying to work with accounts and the bitcoind daemon to allow moving balances between the accounts.

Originally when moving the coins around between accounts, an extra .01 appeared, as you can see from the following code.  I'm not sure how this happened but it messes up the overall balance.

Code:
$ bitcoind getbalance testuser
0.02040000
$ bitcoind getbalance bit-coin
0.00000000
$ bitcoind getbalance
0.01040000

Another issue is that when you move coins between accounts, it doesn't check the balance.  Is this an issue in the actual daemon code?  I know this isn't an issue as long as I check to make sure the balance is high enough, but if I miss something then I can't withdraw the balance showing the other account...
Code:
$ bitcoind move testuser bit-coin 3
true
$ bitcoind getbalance testuser
-2.97960000
$ bitcoind getbalance bit-coin
3.00000000
$ bitcoind getbalance
0.01040000

Are there an easy fixes to this or do I need to restart my Wallet.dat?
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!