[qa] Rewrite BIP65 functional tests

After 122786d0e0, BIP65 activates at
a particular height (without regard to version numbers of blocks
below that height).  Rewrite the BIP65 functional tests to take
this into account, and add a test case that exercises
OP_CHECKLOCKTIMEVERIFY in a block where the soft-fork is active.

Also moves the bip65 functional test out of the extended test suite.
This commit is contained in:
Suhas Daftuar
2017-06-28 14:52:24 -04:00
parent d4e551adfe
commit d4f0d87b6f
3 changed files with 109 additions and 203 deletions

View File

@@ -113,6 +113,7 @@ BASE_SCRIPTS= [
'listsinceblock.py',
'p2p-leaktests.py',
'wallet-encryption.py',
'bip65-cltv-p2p.py',
'uptime.py',
]
@@ -136,8 +137,6 @@ EXTENDED_SCRIPTS = [
'rpcbind_test.py',
# vv Tests less than 30s vv
'assumevalid.py',
'bip65-cltv.py',
'bip65-cltv-p2p.py',
'bipdersig-p2p.py',
'bipdersig.py',
'example_test.py',