Subcent balance sends if remaining wallet is less than 0.01 #216

issue stigeebus opened this issue on May 10, 2011
  1. stigeebus commented at 6:49 AM on May 10, 2011: none

    If the remaining balance after sending a transaction would be less than 0.01, the subcent remainder is also being sent with the transaction.

    Example:

    If I have 10.00946786 BTC in my wallet and I send 10 BTC as a transaction, it will actually send all 10.00946786 BTC and not leave the subcent amount.

  2. TheBlueMatt commented at 9:08 AM on May 10, 2011: member

    This is a feature to prevent the remaining 0.00XXXX from being lost as you can't send that without a 0.01 fee which you can't have if your balance is <0.01

  3. stigeebus commented at 10:19 AM on May 10, 2011: none

    Yes, but if I have 10.01999999 bitcoins, and am in a pool, I could safely assume that I would be able to make 0.00000001 bitcoins to then have whole cent within a reasonable amount of time. The feature should be to simply not allow you to send a transaction if you have less than 0.01 rather than sending it along with the whole cent. Otherwise, it's theft of coin (negligible or not) by the network.

  4. gavinandresen commented at 12:27 PM on May 10, 2011: contributor

    You cannot send a coin smaller than 0.01 without paying a transaction fee. So if you had a 10.019, and you got a 0.001 payment (whoever sent that would have had to pay a fee), you cannot resend that 0.001 payment without paying a 0.01 bitcoin fee. I know it looks like you have exactly 10.02 BTC in that case, but to bitcoin you have a 10.019BTC "coin" and a 0.001 BTC "coin".

  5. stigeebus commented at 11:05 PM on May 10, 2011: none

    In that case, it should notify users that, if they have a balance of 1.01999999 and they send someone 1 BTC with a 0.01 TxFee, they are sending them their subcent balance with it.

  6. gavinandresen commented at 12:05 AM on May 11, 2011: contributor

    Yep, the GUI should definitely notify the user, so lets keep this issue open until that is fixed.

  7. sipa commented at 7:29 PM on February 19, 2012: member

    I believe the current Qt GUI behaves correctly now.

  8. sipa commented at 11:00 PM on February 21, 2012: member

    @laanwj Does this problem still exist?

  9. laanwj commented at 6:17 AM on February 22, 2012: member

    Nope, bitcoin adds the fee at most, nothing more.

  10. laanwj closed this on Feb 22, 2012

  11. sipa referenced this in commit 9d09322b41 on Mar 27, 2015
  12. TheBlueMatt referenced this in commit 582b2934e6 on Oct 20, 2015
  13. deadalnix referenced this in commit 137a8ec45b on Jan 19, 2017
  14. attilaaf referenced this in commit 5e3b36aab9 on Jan 13, 2020
  15. rajarshimaitra referenced this in commit 526be60ded on Aug 5, 2021
  16. DrahtBot 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-04-13 21:16 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me