3 ms·
That is kind of confusing isn't it, because there's also a miner fee. Does your algorithm know how to subtract the miner fee to get the unique amount? Also, are
by Rygu 12y ago
That is kind of confusing isn't it, because there's also a miner fee. Does your algorithm know how to subtract the miner fee to get the unique amount? Also, are your floating point operations (subtract, compare) done correctly?
http://floating-point-gui.de/errors/comparison/ http://floating-point-gui.de/errors/comparison/
- bowmessage 12y agoAnyone who uses floating point numbers in a bitcoin project is doing it wrong. Bitcoins have a fixed (for now) level of precision. 1 satoshi is currently the smallest discrete amount of bitcoin that can exist. The miner's fee is separate from the amount sent, this is easy to distinguish.