1

I have problem with bitcoind with the command sendfrom

Example :

./bitcoind sendfrom test1 1.99990005

The value when command "listtransaction test1" is 1.99990004.

I'm using bitcoind in ubuntu 12:04 locale en_US.UTF-8

Thanks for help.

  • @NateEldredge: The one Satoshi difference between the two amounts would appear to be the problem. – pyramids Feb 26 '14 at 16:44
  • What version of bitcoin? – wumpus Feb 26 '14 at 18:55
  • My version is 0.8.6 – user13918 Feb 26 '14 at 20:10
  • I've tried this on testnet and I've been unable to reproduce this with 0.8.6. 1.99990005 is always parsed as 1.99990005. What CPU architecture? Have you compiled from source or using the precompiled executable? – wumpus Feb 27 '14 at 7:17
  • To avoid ambiguity by using doubles and floating point numbers, IMO we should switch to decimal strings instead of numbers for monetary amounts in the RPC interface. See github.com/bitcoin/bitcoin/pull/3759 – wumpus Feb 28 '14 at 8:29

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.