aboutsummaryrefslogtreecommitdiff
path: root/src/utilstrencodings.cpp
diff options
context:
space:
mode:
authorEsteban Ordano <eordano@gmail.com>2015-07-02 18:38:34 -0700
committerEsteban Ordano <eordano@gmail.com>2015-07-06 13:09:37 -0700
commitcb54d17355864fa08826d6511a0d7692b21ef2c9 (patch)
tree70157b543125853fab7a4a00dba2643889a64bab /src/utilstrencodings.cpp
parent56dc70439f4a5cfeec3c49609229d973349e5c8f (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/utilstrencodings.cpp')
0 files changed, 0 insertions, 0 deletions