mirror of
https://github.com/bitcoin/bips.git
synced 2025-05-12 12:03:29 +00:00
Archive Revision as of 17:37, 28 April 2013
https://en.bitcoin.it/w/index.php?title=BIP_0017&oldid=37378
This commit is contained in:
parent
57488fbd8b
commit
16fe80c1c6
@ -1,9 +1,11 @@
|
|||||||
|
{{bip}}
|
||||||
|
|
||||||
<pre>
|
<pre>
|
||||||
BIP: 17
|
BIP: 17
|
||||||
Title: OP_CHECKHASHVERIFY (CHV)
|
Title: OP_CHECKHASHVERIFY (CHV)
|
||||||
Author: Luke Dashjr <luke+bip17@dashjr.org>
|
Author: Luke Dashjr <luke+bip17@dashjr.org>
|
||||||
Status: Withdrawn
|
Status: Draft
|
||||||
Type: Standards Track
|
Type: Withdrawn
|
||||||
Created: 18-01-2012
|
Created: 18-01-2012
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
@ -26,7 +28,7 @@ OP_CHECKHASHVERIFY will re-define the existing OP_NOP2 opcode, and will function
|
|||||||
* If the hashes match, do nothing, proceed as if an OP_NOP; if they do not match, the script fails immediately.
|
* If the hashes match, do nothing, proceed as if an OP_NOP; if they do not match, the script fails immediately.
|
||||||
* Note that in the case of a matched hash, the top stack item (the hash being compared with) is <u>not</u> popped off the stack. This is for backward compatibility.
|
* Note that in the case of a matched hash, the top stack item (the hash being compared with) is <u>not</u> popped off the stack. This is for backward compatibility.
|
||||||
|
|
||||||
This opcode reassignment shall be applied when validating transactions in blocks only with timestamps after February 20, 2012 (see the Backwards Compatibility section for details).
|
This opcode reassignment shall be applied when validating transactions in blocks only with timestamps after February 23, 2012 (see the Backwards Compatibility section for details).
|
||||||
|
|
||||||
A new standard transaction type that is relayed and included in mined blocks is defined:
|
A new standard transaction type that is relayed and included in mined blocks is defined:
|
||||||
|
|
||||||
@ -82,7 +84,7 @@ To gracefully upgrade and ensure no long-lasting block-chain split occurs, more
|
|||||||
|
|
||||||
To judge whether or not more than 50% of hashing power supports this BIP, miners are asked to upgrade their software and put the string "p2sh/CHV" in the input of the coinbase transaction for blocks that they create.
|
To judge whether or not more than 50% of hashing power supports this BIP, miners are asked to upgrade their software and put the string "p2sh/CHV" in the input of the coinbase transaction for blocks that they create.
|
||||||
|
|
||||||
On February 3, 2012, the block-chain will be examined to determine the number of blocks supporting pay-to-script-hash for the previous 7 days. If at least 60% contain "p2sh/CHV" in their coinbase, then all blocks with timestamps after 18 Feb 2012, 00:00:00 GMT shall have their pay-to-script-hash transactions validated.
|
On February 8, 2012, the block-chain will be examined to determine the number of blocks supporting pay-to-script-hash for the previous 7 days. If at least 60% contain "p2sh/CHV" in their coinbase, then all blocks with timestamps after 23 Feb 2012, 00:00:00 GMT shall have their pay-to-script-hash transactions validated.
|
||||||
|
|
||||||
If a majority of hashing power does not support the new validation rules, then rollout will be postponed (or rejected if it becomes clear that a majority will never be achieved).
|
If a majority of hashing power does not support the new validation rules, then rollout will be postponed (or rejected if it becomes clear that a majority will never be achieved).
|
||||||
|
|
||||||
@ -100,3 +102,4 @@ OP_NOP2 is used, so existing OP_EVAL (BIP 12) transactions in the block chain ca
|
|||||||
* [[BIP 0011|M-of-N Multisignature Transactions (BIP 11)]]
|
* [[BIP 0011|M-of-N Multisignature Transactions (BIP 11)]]
|
||||||
* Example BIP 17 transaction chain: [http://blockexplorer.com/tx/b8fd633e7713a43d5ac87266adc78444669b987a56b3a65fb92d58c2c4b0e84d a] [http://blockexplorer.com/tx/eb3b82c0884e3efa6d8b0be55b4915eb20be124c9766245bcc7f34fdac32bccb b] [http://blockexplorer.com/tx/055707ce7fea7b9776fdc70413f65ceec413d46344424ab01acd5138767db137 c] [http://blockexplorer.com/tx/6d36bc17e947ce00bb6f12f8e7a56a1585c5a36188ffa2b05e10b4743273a74b d]
|
* Example BIP 17 transaction chain: [http://blockexplorer.com/tx/b8fd633e7713a43d5ac87266adc78444669b987a56b3a65fb92d58c2c4b0e84d a] [http://blockexplorer.com/tx/eb3b82c0884e3efa6d8b0be55b4915eb20be124c9766245bcc7f34fdac32bccb b] [http://blockexplorer.com/tx/055707ce7fea7b9776fdc70413f65ceec413d46344424ab01acd5138767db137 c] [http://blockexplorer.com/tx/6d36bc17e947ce00bb6f12f8e7a56a1585c5a36188ffa2b05e10b4743273a74b d]
|
||||||
|
|
||||||
|
[[Category:BIP|D]]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user