Merge pull request #715 from EahwW8VfYy/patch-2

Typo
pull/717/head^2
Andreas M. Antonopoulos 3 years ago committed by GitHub
commit 6c7d337ae9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -606,7 +606,7 @@ To implement this refund in Bitcoin Script, we use a special operator +OP_CHECKL
...
----
The +OP_CLTV+ operator takes an expiry time defined as the block height after which this transaction is valid. If the tranaction timelock is not set the same as +<cltv_expiry>+, the evaluation of the script fails and the transaction is invalid. Otherwise, the script continues without any output to the stack. Remember, the +VERIFY+ suffix means this operator does not output +TRUE+ or +FALSE+, but instead either halts/fails, or continus without stack output.
The +OP_CLTV+ operator takes an expiry time defined as the block height after which this transaction is valid. If the tranaction timelock is not set the same as +<cltv_expiry>+, the evaluation of the script fails and the transaction is invalid. Otherwise, the script continues without any output to the stack. Remember, the +VERIFY+ suffix means this operator does not output +TRUE+ or +FALSE+, but instead either halts/fails, or continues without stack output.
Essentially, the +OP_CLTV+ acts as a "gatekeeper" preventing the script from proceeding any further if the <cltv_expiry> block height has not been reached on the Bitcoin blockchain.

Loading…
Cancel
Save