Skip to content

Commit

Permalink
Archive Revision as of 17:37, 28 April 2013
Browse files Browse the repository at this point in the history
  • Loading branch information
petertodd committed Oct 21, 2013
1 parent 57488fb commit 16fe80c
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions bip-0017.mediawiki
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
{{bip}}

<pre>
BIP: 17
Title: OP_CHECKHASHVERIFY (CHV)
Author: Luke Dashjr <luke+bip17@dashjr.org>
Status: Withdrawn
Type: Standards Track
Status: Draft
Type: Withdrawn
Created: 18-01-2012
</pre>

Expand All @@ -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.
* 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:

Expand Down Expand Up @@ -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.

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).

Expand All @@ -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)]]
* 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]]

0 comments on commit 16fe80c

Please sign in to comment.