diff options
author | Peter Todd <pete@petertodd.org> | 2013-10-21 00:43:57 -0400 |
---|---|---|
committer | Peter Todd <pete@petertodd.org> | 2013-10-21 00:43:57 -0400 |
commit | 57488fbd8b6d2d581b12864ce7a07149e19a177d (patch) | |
tree | 9efad1301d5e3081df6abcba63da2bc65570eae5 /bip-0016.mediawiki | |
parent | 37a05d4acf3e7a356aa1f705d0e2d34738f17d74 (diff) |
Archive Revision as of 11:05, 8 July 2013
https://en.bitcoin.it/w/index.php?title=BIP_0016&oldid=39176
Diffstat (limited to 'bip-0016.mediawiki')
-rw-r--r-- | bip-0016.mediawiki | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/bip-0016.mediawiki b/bip-0016.mediawiki index 68c0354..5344469 100644 --- a/bip-0016.mediawiki +++ b/bip-0016.mediawiki @@ -1,8 +1,10 @@ +{{bip}} + <pre> BIP: 16 Title: Pay to Script Hash Author: Gavin Andresen <gavinandresen@gmail.com> - Status: Accepted + Status: Final Type: Standards Track Created: 03-01-2012 </pre> @@ -37,7 +39,7 @@ The rules for validating these outpoints when relaying transactions or consideri # Normal validation is done: an initial stack is created from the signatures and {serialized script}, and the hash of the script is computed and validation fails immediately if it does not match the hash in the outpoint. # {serialized script} is popped off the initial stack, and the transaction is validated again using the popped stack and the deserialized script as the scriptPubKey. -These same rules shall be applied when validating transactions in blocks with timestamps after February 15, 2012 (see the Backwards Compatibility section for details). +These new rules should only be applied when validating transactions in blocks with timestamps >= 1333238400 (Apr 1 2012) <ref>[https://github.com/bitcoin/bitcoin/commit/8f188ece3c82c4cf5d52a3363e7643c23169c0ff Remove -bip16 and -paytoscripthashtime command-line arguments]</ref>. There are transaction earlier than 13333238400 in the block chain that fail these new validation rules. <ref>[http://blockexplorer.com/tx/6a26d2ecb67f27d1fa5524763b49029d7106e91e3cc05743073461a719776192 Transaction 6a26d2ecb67f27d1fa5524763b49029d7106e91e3cc05743073461a719776192]</ref>. Older transactions must be validated under the old rules. (see the Backwards Compatibility section for details). For example, the scriptPubKey and corresponding scriptSig for a one-signature-required transaction is: @@ -98,11 +100,16 @@ If a majority of hashing power does not support the new validation rules, then r ==Reference Implementation== -Coming Soon +https://gist.github.com/gavinandresen/3966071 ==See Also== * https://bitcointalk.org/index.php?topic=46538 * The [[BIP 0013|Address format for Pay to Script Hash BIP]] * M-of-N Multisignature Transactions [[BIP 0011|BIP 11]] +* [[BIP_0016_QA|Quality Assurance test checklist]] + +== References == +<references/> +[[Category:BIP|D]] |