summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGavin Andresen <gavinandresen@gmail.com>2016-01-08 15:32:52 -0500
committerGavin Andresen <gavinandresen@gmail.com>2016-01-08 15:32:52 -0500
commit6d5b31a2b3a7af59afa8a9833c440deb4b7fb4ab (patch)
tree654114eebdcf261d1b78a616406df1013d9544fe
parentba88bec238c45cf747df2d4a0e91dac60569dad8 (diff)
parent7abd7509887e5d0420eb28bf7e02542bfc5c02fc (diff)
downloadbips-6d5b31a2b3a7af59afa8a9833c440deb4b7fb4ab.tar.xz
Merge pull request #251 from dionyziz/patch-1
Fix small typo in BIP 0016
-rw-r--r--bip-0016.mediawiki2
1 files changed, 1 insertions, 1 deletions
diff --git a/bip-0016.mediawiki b/bip-0016.mediawiki
index 18ef2f4..25b652d 100644
--- a/bip-0016.mediawiki
+++ b/bip-0016.mediawiki
@@ -98,7 +98,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 is it 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 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.
==Reference Implementation==