avoid sub-cent change (lost in fees) whenever possible #85

pull tcatm wants to merge 1 commits into bitcoin:master from tcatm:subcent-change changing 1 files +17 −7
  1. tcatm commented at 1:12 AM on March 1, 2011: none

    Patch from luke-jr

  2. Bugfix: avoid sub-cent change (lost in fees) whenever possible a14bf1946d
  3. gavinandresen commented at 2:40 AM on March 1, 2011: contributor

    Looks good at first glance. Can we brainstorm test cases that we think might cause problems?

    E.g. Wallet with (only) available transactions of +1 +2.0001 +3 : Send 6 bitcoins; what happens?

    Same wallet, send 2 (I think you'll get a 2.0001+1 spend with 1.0001 change)...

    Any other tricky edge cases?

  4. wtogami referenced this in commit b64e8648be on Nov 9, 2013
  5. morcos cross-referenced this on Nov 22, 2014 from issue Subtract fee from amount by cozz
  6. rdponticelli referenced this in commit cc20075ef7 on Nov 26, 2014
  7. MarcoFalke referenced this in commit eb17806775 on Mar 26, 2016
  8. ptschip referenced this in commit a28ee85d34 on Feb 13, 2018
  9. effectsToCause referenced this in commit 4abd2ac6fa on Jun 22, 2018
  10. attilaaf referenced this in commit cba73c9b84 on Jan 13, 2020
  11. rajarshimaitra referenced this in commit cc44886ed3 on Aug 5, 2021
  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:56 UTC