diff options
author | Esteban Ordano <eordano@gmail.com> | 2015-07-02 18:38:34 -0700 |
---|---|---|
committer | Peter Todd <pete@petertodd.org> | 2015-10-08 17:51:05 +0200 |
commit | 5dc72f8bb0bf5447227aaf5da5fc6e0969e96bdb (patch) | |
tree | 2c8883d0aaed16aa4b1f4816122243915512b463 /src/test/alert_tests.cpp | |
parent | 6a1343b47010362e48a36a05227e8b3ddb70ebdf (diff) |
CLTV: Add more tests to improve coverage
Four cases included:
* The CLTV operand type mismatches the tx locktime. In the script it is
1 (interpreted as block height), but in the tx is 500000000
(interpreted as date)
* The stack is empty when executing OP_CLTV
* The tx is final by having only one input with MAX_INT sequence number
* The operand for CLTV is negative (after OP_0 OP_1 OP_SUB)
Rebased-From: cb54d17355864fa08826d6511a0d7692b21ef2c9
Diffstat (limited to 'src/test/alert_tests.cpp')
0 files changed, 0 insertions, 0 deletions