diff options
author | Varunram <vrg2009@ymail.com> | 2018-04-14 11:16:32 +0530 |
---|---|---|
committer | Luke Dashjr <luke-jr+git@utopios.org> | 2018-07-05 05:14:10 +0000 |
commit | c3e8379b611a53114544b0ed7af5307b022b8ac8 (patch) | |
tree | 9283a7fe6edc9258f860f73c683c6e8cc23b3c99 /bip-0016.mediawiki | |
parent | 5415dd806ea416372258b6d81966db80e6cfb5d7 (diff) |
[trivial] Correct typos across bips
BIPs 11, 16, 61, 98, 116, 117, 143, 157
Diffstat (limited to 'bip-0016.mediawiki')
-rw-r--r-- | bip-0016.mediawiki | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bip-0016.mediawiki b/bip-0016.mediawiki index d5d39ef..ba828e1 100644 --- a/bip-0016.mediawiki +++ b/bip-0016.mediawiki @@ -101,7 +101,7 @@ If a majority of hashing power does not support the new validation rules, then r ===520-byte limitation on serialized script size=== -As a consequence of the requirement for backwards compatiblity the serialized script is itself subject to the same rules as any other PUSHDATA operation, including the rule that no data greater than 520 bytes may be pushed to the stack. Thus it is not possible to spend a P2SH output if the redemption script it refers to is >520 bytes in length. For instance while the OP_CHECKMULTISIG opcode can itself accept up to 20 pubkeys, with 33-byte compressed pubkeys it is only possible to spend a P2SH output requiring a maximum of 15 pubkeys to redeem: 3 bytes + 15 pubkeys * 34 bytes/pubkey = 513 bytes. +As a consequence of the requirement for backwards compatibility the serialized script is itself subject to the same rules as any other PUSHDATA operation, including the rule that no data greater than 520 bytes may be pushed to the stack. Thus it is not possible to spend a P2SH output if the redemption script it refers to is >520 bytes in length. For instance while the OP_CHECKMULTISIG opcode can itself accept up to 20 pubkeys, with 33-byte compressed pubkeys it is only possible to spend a P2SH output requiring a maximum of 15 pubkeys to redeem: 3 bytes + 15 pubkeys * 34 bytes/pubkey = 513 bytes. ==Reference Implementation== |