Automatically set and adjust recommended confirmations in the event of possible attack #2761

issue Suffice opened this issue on June 11, 2013
  1. Suffice commented at 6:19 PM on June 11, 2013: none
    • Able to set a hard limit on the amount of confirmations needed (Unsafe but consistent.)
    • Able to set a limit above or below the recommended amount of confirmations needed by a certain amount.
    • Able to set a minimum confirmations needed, but also follow recommended amount.
    • Adjust the amount of confirmations on the client for a transaction to be considered safe.

    I'm not sure if most of this should be implemented through an API or not, but I think suggesting a recommended confirmation amount can be useful in the event of an attack, to avoid double spending.

    As for detecting a possible attack, I'm not very sure. Perhaps monitor the hash rate for abnormal rises. Or use the same detection as Gavin suggested:

    'Something like "ignore a longer chain orphaning the current best chain if the sum(priorities of transactions included in new chain) is much less than sum(priorities of transactions in the part of the current best chain that would be orphaned)" would mean a 51% attacker would have to have both lots of hashing power AND lots of old, high-priority bitcoins to keep up a transaction-denial-of-service attack. And they'd pretty quickly run out of old, high-priority bitcoins and would be forced to either include other people's transactions or have their chain rejected.'

  2. luke-jr commented at 6:33 PM on June 11, 2013: member

    Sounds like multiple issues here. The latter would need a LOT of careful thought/studying...

  3. laanwj commented at 3:04 PM on November 12, 2013: member

    Sounds like a risky and controversial change. This would be best discussed on the mailing list (http://sourceforge.net/mailarchive/forum.php?forum_name=bitcoin-development) instead of here, as it affects the protocol and not only this client implementation.

  4. laanwj closed this on Nov 12, 2013

  5. Bushstar referenced this in commit fbf0dcb086 on Apr 5, 2019
  6. 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-17 06:16 UTC

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