Browse Source

Corrections with the conditions for script failure

20160201_status_updates_d2f
jl2012 9 years ago
parent
commit
ac4cd1d46c
  1. 3
      bip-0112.mediawiki

3
bip-0112.mediawiki

@ -22,10 +22,11 @@ being spent.
CHECKSEQUENCEVERIFY redefines the existing NOP3 opcode. CHECKSEQUENCEVERIFY redefines the existing NOP3 opcode.
When executed, if any of the following conditions are true, the script interpreter will terminate with an error: When executed, if any of the following conditions are true, the script interpreter will terminate with an error:
* the stack is empty; or
* the top item on the stack is less than 0; or * the top item on the stack is less than 0; or
* the top item on the stack has the disable flag (1 << 31) unset; and * the top item on the stack has the disable flag (1 << 31) unset; and
** the transaction version is less than 2; or ** the transaction version is less than 2; or
** the transaction input sequence number disable flag (1 << 31) is set; and ** the transaction input sequence number disable flag (1 << 31) is set; or
** the relative lock-time type is not the same; or ** the relative lock-time type is not the same; or
** the top stack item is greater than the transaction sequence (when masked according to the BIP68); ** the top stack item is greater than the transaction sequence (when masked according to the BIP68);

Loading…
Cancel
Save