summaryrefslogtreecommitdiff
path: root/bip-0112.mediawiki
diff options
context:
space:
mode:
authorjl2012 <jl2012@users.noreply.github.com>2015-12-01 01:47:16 +0800
committerjl2012 <jl2012@users.noreply.github.com>2015-12-01 01:47:16 +0800
commitac4cd1d46cf64b67f6d2d4376119a7d18728ce4b (patch)
treec9427363018f709631b29e128939a7adc9f5effd /bip-0112.mediawiki
parent0cd94c9f727c4e9cb010a771e4483aadf34bcecc (diff)
downloadbips-ac4cd1d46cf64b67f6d2d4376119a7d18728ce4b.tar.xz
Corrections with the conditions for script failure
Diffstat (limited to 'bip-0112.mediawiki')
-rw-r--r--bip-0112.mediawiki3
1 files changed, 2 insertions, 1 deletions
diff --git a/bip-0112.mediawiki b/bip-0112.mediawiki
index c7ee45e..643c617 100644
--- a/bip-0112.mediawiki
+++ b/bip-0112.mediawiki
@@ -22,10 +22,11 @@ being spent.
CHECKSEQUENCEVERIFY redefines the existing NOP3 opcode.
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 has the disable flag (1 << 31) unset; and
** 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 top stack item is greater than the transaction sequence (when masked according to the BIP68);