Re:Bitcoin withdrawal processing suspended
by ufo on Tuesday February 11, 2014 @02:40PM
(#7219858)
btw, why is the transaction ammount a real number in there? Wouldn't it be clearer to use an integer multiple of whatever the lowest denomination of bitcoins would be?
[ Parent
| on HN ]
Re:Bitcoin withdrawal processing suspended
by waterlesscloud on Tuesday February 11, 2014 @02:59PM
(#7219980)
I was looking into that, but got sidetracked and found this comment from the ref client's lead dev...
sendtoaddress didn't always return a transaction id. It was changed to do that to facilitate bookkeeping. Sort of ironic.
Re:Bitcoin withdrawal processing suspended
by patio11 on Tuesday February 11, 2014 @03:01PM
(#7220003)
To be fair, he made that addition before anyone, including probably Satoshi Nakamoto, knew that the Bitcoin "protocol" allowed transaction IDs to change at will for up to ~1 hour after them being sent.
Re:Bitcoin withdrawal processing suspended
by google-serf on Tuesday February 11, 2014 @05:00PM
(#7220794)
This is exactly how the transaction balance is encoded, as integer multiples of satoshi's (the basic unit of bitcoin, 0.00000001 BTC. All known cryptocurrencies do this to prevent float/double rounding errors.