aboutsummaryrefslogtreecommitdiff
path: root/src/netmessagemaker.h
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@protonmail.com>2020-11-19 15:38:06 +0100
committerWladimir J. van der Laan <laanwj@protonmail.com>2020-11-19 15:38:17 +0100
commitc4d1e24f54805e2c8d28cd793d2f2f2a220fdf55 (patch)
tree134187617334a582239259e064ececfed46004b0 /src/netmessagemaker.h
parent7aa94569ce1a748a00dab475c02448255613d7db (diff)
parent6b56c1f4d0d5857d9d61a81dc96db1b603c368b5 (diff)
Merge #20047: test: use wait_for_{block,header} helpers in p2p_fingerprint.py
6b56c1f4d0d5857d9d61a81dc96db1b603c368b5 test: remove last_{block,header}_equals() in p2p_fingerprint.py (Sebastian Falbesoner) 136d96b71f94bde2c7471ed852d447ec008e3a30 test: use wait_for_{block,header} helpers in p2p_fingerprint.py (Sebastian Falbesoner) Pull request description: This small PR takes use of the message receiving helper functions `wait_for_block()` and `wait_for_header()` (from module `test_framework.p2p`) in the test `p2p_fingerprint.py`. It also simplifies the checks for very old stale blocks/headers requests by getting rid of the functions `last_block_equals()` and `last_header_equals()` and rather only testing that not any blocks/headers message is received at all. Unneeded sending of requests are also removed and calls to time.sleep(...) substituted by ping syncs. ACKs for top commit: guggero: ACK 6b56c1f4 Tree-SHA512: 9114db70f3804adad4ab658236762d4fa73fef91158c5756dd1af2d24196ea740451b0028667e0c4047f1f89fe1355031921d3dfb973acc1370052a4bc12c2ab
Diffstat (limited to 'src/netmessagemaker.h')
0 files changed, 0 insertions, 0 deletions