aboutsummaryrefslogtreecommitdiff
path: root/doc/build-freebsd.md
diff options
context:
space:
mode:
authorSebastian Falbesoner <sebastian.falbesoner@gmail.com>2020-01-13 23:19:28 +0100
committerSebastian Falbesoner <sebastian.falbesoner@gmail.com>2020-02-28 09:04:18 +0100
commitcbd345a75c2be26e17fce4c65c0c1ca19a3eb9e0 (patch)
tree31d64bbc9d695876d47740601f15d55f2828ccb7 /doc/build-freebsd.md
parenteae48ec84c4deacfe92139d07ee80e51136cb766 (diff)
test: test OP_CSV empty stack fail in feature_csv_activation.py
With BIP112 activated, the operation OP_CHECKSEQUENCEVERIFY (former OP_NOP3) leads to script interpreter termination with an error if one of the following conditions is true: -> stack is empty -> top item on stack is negative (< 0) -> top item on stack has disable flag unset and at least one of four other conditions is true (contains the core CSV logic) This commits adds the missing empty stack failure test to the functional test by prepending a valid scriptSig with just OP_CHECKSEQUENCEVERIFY. If BIP112 is inactive, the operator just behaves as a NOP (for both tx versions 1 and 2) and the transaction remains valid -- if it is active, the tx is invalid due to an empty stack (for both tx versions 1 and 2, as well).
Diffstat (limited to 'doc/build-freebsd.md')
0 files changed, 0 insertions, 0 deletions