summaryrefslogtreecommitdiff
path: root/bip-0174.mediawiki
diff options
context:
space:
mode:
authorAntoine Poinsot <darosior@protonmail.com>2021-01-10 12:41:05 +0100
committerAntoine Poinsot <darosior@protonmail.com>2021-01-11 10:53:59 +0100
commit644610f7b87e3e5f4757fb9e80d24f8e6e75d93e (patch)
tree5e717838c34a7823fd052d51e77929041a371bf9 /bip-0174.mediawiki
parentcf0b529e78860fa2d4fe77944091aa98c5e04624 (diff)
downloadbips-644610f7b87e3e5f4757fb9e80d24f8e6e75d93e.tar.xz
bip-0141: clarify the sigop count calculation for CHECKMULTISIG
Since the sigOpCount calculation was copied from P2SH, and P2SH restricts the use of CHECKMULTISIG with pushed integers the reference implementation would not take into account the number of public keys for 17 to 20 keys (not representable with an OP_N) even for P2WSH. Therefore it fallbacks to accounting for 20 sigops in this case, which this sentence seemed to mismatch with. Btcd and Libbitcoin use the same calculation as in Bitcoin Core. Signed-off-by: Antoine Poinsot <darosior@protonmail.com>
Diffstat (limited to 'bip-0174.mediawiki')
0 files changed, 0 insertions, 0 deletions