diff options
author | Cory Fields <cory-nospam-@coryfields.com> | 2017-02-08 01:17:58 -0500 |
---|---|---|
committer | Cory Fields <cory-nospam-@coryfields.com> | 2017-02-13 18:56:03 -0500 |
commit | d9434918d277bba534933ebc8c63ba81e613f603 (patch) | |
tree | 4bf71e301e86cdab80fe9648b01fa904d66b8d31 /qa/pull-tester/rpc-tests.py | |
parent | 8650bbb660eaf8c81d714f1518ecc8c35ae17463 (diff) | |
download | bitcoin-d9434918d277bba534933ebc8c63ba81e613f603.tar.xz |
qa: add a test to detect leaky p2p messages
This is certainly not exhaustive, but it's better than nothing. Adds checks
for:
- Any message received before sending a version
- Any message received other than version/reject before sending a verack
It also tries to goad the remote into sending a pong, address, or block
announcement.
Diffstat (limited to 'qa/pull-tester/rpc-tests.py')
-rwxr-xr-x | qa/pull-tester/rpc-tests.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/qa/pull-tester/rpc-tests.py b/qa/pull-tester/rpc-tests.py index 26bc6a73df..3101812541 100755 --- a/qa/pull-tester/rpc-tests.py +++ b/qa/pull-tester/rpc-tests.py @@ -154,6 +154,7 @@ testScripts = [ 'bumpfee.py', 'rpcnamedargs.py', 'listsinceblock.py', + 'p2p-leaktests.py', ] if ENABLE_ZMQ: testScripts.append('zmq_test.py') |