diff options
author | Esteban Ordano <eordano@gmail.com> | 2015-07-02 18:38:34 -0700 |
---|---|---|
committer | Esteban Ordano <eordano@gmail.com> | 2015-07-06 13:09:37 -0700 |
commit | cb54d17355864fa08826d6511a0d7692b21ef2c9 (patch) | |
tree | 70157b543125853fab7a4a00dba2643889a64bab /src/bloom.h | |
parent | 56dc70439f4a5cfeec3c49609229d973349e5c8f (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)
Diffstat (limited to 'src/bloom.h')
0 files changed, 0 insertions, 0 deletions