Too many bitcoins allowed in amount. #2401

issue allaun opened this issue on March 22, 2013
  1. allaun commented at 11:00 AM on March 22, 2013: none

    While the bitcoin protocol allows only 21 million bitcoins to ever exist, the bitcoin-qt application allows 99999999.99999999 in the amount area. I know that any attempt to send any amount you don't have will fail, But it still seems like a issue that should be fixed. If for no other reason than the principle of not exceeding actual available amounts. :p too many bitcoins

  2. laanwj commented at 11:23 AM on March 22, 2013: member

    This is already implemented: 21000000 is 8 digits. 8 digits after the dot are allowed by the prototocol. Change the unit to anything else and the amount allowed before/after will change.

  3. qubez commented at 6:01 PM on March 22, 2013: none

    allaun is referring to the digits before the decimal point - eight integer digits are allowed to be input in the text box in BTC mode, which can be larger than the number of bitcoins in existence. Seven digits would be sufficient to send 9,999,999 bitcoins as an output, still larger than the amount any one entity is likely to ever possess. Remember though, an alt-chain based on Bitcoin code may have many more coins. A little UI thing like this is about a 1 out of 1000 on the importance scale though.

  4. vhf cross-referenced this on May 21, 2013 from issue Too many bitcoins allowed as amount. (Issue #2401) by vhf
  5. gavinandresen referenced this in commit 2e01ec3207 on Jun 25, 2013
  6. laanwj closed this on Oct 21, 2013

  7. MathyV referenced this in commit df28c54d4a on May 9, 2014
  8. MathyV referenced this in commit b17c2b5284 on Jul 31, 2014
  9. MathyV referenced this in commit 9bff65b2c5 on Jul 31, 2014
  10. MathyV referenced this in commit 66ec9aac20 on Aug 3, 2014
  11. MathyV referenced this in commit 89e58ccf16 on Aug 5, 2014
  12. bitcoin locked this on Sep 8, 2021

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-05-20 06:55 UTC