test: Add basic test for reject code

Extend P2P test framework to make it possible to expect reject
codes for transactions and blocks.
This commit is contained in:
Wladimir J. van der Laan
2015-12-08 17:10:41 +01:00
parent 9fc6ed6003
commit 20411903d7
4 changed files with 121 additions and 4 deletions

View File

@@ -100,6 +100,8 @@ testScripts = [
'sendheaders.py',
'keypool.py',
'prioritise_transaction.py',
'invalidblockrequest.py',
'invalidtxrequest.py',
]
testScriptsExt = [
'bip65-cltv.py',
@@ -116,7 +118,6 @@ testScriptsExt = [
# 'rpcbind_test.py', #temporary, bug in libevent, see #6655
'smartfees.py',
'maxblocksinflight.py',
'invalidblockrequest.py',
'p2p-acceptblock.py',
'mempool_packages.py',
'maxuploadtarget.py',