diff options
author | Suhas Daftuar <sdaftuar@gmail.com> | 2015-04-28 12:36:15 -0400 |
---|---|---|
committer | Suhas Daftuar <sdaftuar@gmail.com> | 2015-04-28 12:38:29 -0400 |
commit | 6c1d1ba6fccd76e3690bac8341687c0921758e30 (patch) | |
tree | 1b4edb379b9c83c52c0b888dd3f460c73420826f /qa/pull-tester/rpc-tests.sh | |
parent | 7bf5d5efa60c89c0e0c353dddc2a76fe4f243808 (diff) | |
download | bitcoin-6c1d1ba6fccd76e3690bac8341687c0921758e30.tar.xz |
Python p2p testing framework
mininode.py provides a framework for connecting to a bitcoin node over the p2p
network. NodeConn is the main object that manages connectivity to a node and
provides callbacks; the interface for those callbacks is defined by NodeConnCB.
Defined also are all data structures from bitcoin core that pass on the network
(CBlock, CTransaction, etc), along with de-/serialization functions.
maxblocksinflight.py is an example test using this framework that tests whether
a node is limiting the maximum number of in-flight block requests.
This also adds support to util.py for specifying the binary to use when
starting nodes (for tests that compare the behavior of different bitcoind
versions), and adds maxblocksinflight.py to the pull tester.
Diffstat (limited to 'qa/pull-tester/rpc-tests.sh')
-rwxr-xr-x | qa/pull-tester/rpc-tests.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/qa/pull-tester/rpc-tests.sh b/qa/pull-tester/rpc-tests.sh index dd2f8d4e5e..6d57d58755 100755 --- a/qa/pull-tester/rpc-tests.sh +++ b/qa/pull-tester/rpc-tests.sh @@ -30,6 +30,7 @@ testScripts=( 'proxy_test.py' 'merkle_blocks.py' # 'forknotify.py' + 'maxblocksinflight.py' ); if [ "x${ENABLE_BITCOIND}${ENABLE_UTILS}${ENABLE_WALLET}" = "x111" ]; then for (( i = 0; i < ${#testScripts[@]}; i++ )) |