1
0
mirror of https://github.com/bitcoin/bips.git synced 2025-05-19 12:08:05 +00:00

Update bip-0141.mediawiki

This commit is contained in:
Johnson Lau 2016-04-05 13:03:34 +08:00
parent cacf39b057
commit a6cc319846

View File

@ -118,7 +118,7 @@ Sigops in the current pubkey script, signature script, and P2SH check script are
The sigop limit is likewise quadrupled to ≤ 80,000. The sigop limit is likewise quadrupled to ≤ 80,000.
In addition, opcodes within the witness program are counted identical to as previously within the P2SH check script. In addition, opcodes within the witness program are counted identical to as previously within the P2SH check script.
That is, CHECKSIG in a witness program is counted as only 1 sigop, and m-of-n CHECKMULTISIG in a witness program is counted as n sigop. This rule applies to both native witness program and P2SH witness program. That is, CHECKSIG in a witness program is counted as only 1 sigop, and CHECKMULTISIG in a witness program is counted as 1 to 20 sigops according to the arguments. This rule applies to both native witness program and P2SH witness program.
== Examples == == Examples ==