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.
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-
gavinandresen commented at 10:20 PM on January 20, 2012: contributor
-
137d0685a4
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.
-
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.
- gavinandresen referenced this in commit b6a35d2d52 on Jan 25, 2012
- gavinandresen merged this on Jan 25, 2012
- gavinandresen closed this on Jan 25, 2012
- coblee referenced this in commit c89a878c97 on Jul 17, 2012
- destenson referenced this in commit e5bcd0598b on Jun 26, 2016
- dexX7 referenced this in commit 7816aed352 on Sep 25, 2018
- Losangelosgenetics referenced this in commit 1b2bd91707 on Mar 12, 2020
- sipa referenced this in commit a951950cf7 on Aug 16, 2020
- sipa referenced this in commit 0a0db15fc7 on Aug 16, 2020
- sipa referenced this in commit 5d5bef0862 on Aug 28, 2020
- sipa referenced this in commit 62da1445ac on Sep 4, 2020
- sipa referenced this in commit f0c6824af2 on Sep 5, 2020
- sipa referenced this in commit b9c1a76481 on Sep 11, 2020
- DrahtBot locked this on Sep 8, 2021
Contributors