Simplify counting of P2SH sigops to match BIP 16 #773

pull gavinandresen wants to merge 1 commits into bitcoin:master from gavinandresen:p2shSigOpCount changing 4 files +53 −52
  1. gavinandresen commented at 10:20 PM on January 20, 2012: contributor

    This also removes an un-needed sigops-per-byte check when accepting transactions to the memory pool (un-needed assuming only standard transactions are being accepted). And it only counts P2SH sigops after the switchover date.

  2. Simplify counting of P2SH sigops to match BIP 16 (thanks to Matt Corallo for prompting this).
    This also removes an un-needed sigops-per-byte check when accepting transactions to the memory pool (un-needed assuming only standard transactions are being accepted). And it only counts P2SH sigops after the switchover date.
    137d0685a4
  3. luke-jr commented at 2:39 AM on January 24, 2012: member

    NACK. Please don't make it harder to accept non-standard transactions.

    Minor nitpick: the new sigop counting isn't P2SH-specific, even if specified in BIP 16. In the long-term, the language will probably be confusing.

  4. gavinandresen referenced this in commit b6a35d2d52 on Jan 25, 2012
  5. gavinandresen merged this on Jan 25, 2012
  6. gavinandresen closed this on Jan 25, 2012

  7. coblee referenced this in commit c89a878c97 on Jul 17, 2012
  8. destenson referenced this in commit e5bcd0598b on Jun 26, 2016
  9. dexX7 referenced this in commit 7816aed352 on Sep 25, 2018
  10. Losangelosgenetics referenced this in commit 1b2bd91707 on Mar 12, 2020
  11. sipa referenced this in commit a951950cf7 on Aug 16, 2020
  12. sipa referenced this in commit 0a0db15fc7 on Aug 16, 2020
  13. sipa referenced this in commit 5d5bef0862 on Aug 28, 2020
  14. sipa referenced this in commit 62da1445ac on Sep 4, 2020
  15. sipa referenced this in commit f0c6824af2 on Sep 5, 2020
  16. sipa referenced this in commit b9c1a76481 on Sep 11, 2020
  17. 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-05-02 15:16 UTC

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