diff options
author | MarcoFalke <falke.marco@gmail.com> | 2020-06-24 15:57:29 -0400 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2020-06-24 15:57:34 -0400 |
commit | 67881de0e3b1cef1d0f978582765a8aeeb09c21a (patch) | |
tree | b465be6981cf046d72d380b5e364bb784f05e18f /depends | |
parent | 532b134cb0d0887a14fe79c2a2604498921caf6f (diff) | |
parent | 56010f92564a94b0ca6c008c0e6f74a19fad4a2a (diff) |
Merge #19272: net, test: invalid p2p messages and test framework improvements
56010f92564a94b0ca6c008c0e6f74a19fad4a2a test: hoist p2p values to test framework constants (Jon Atack)
75447f0893f9ad9bf83d182b301d139430d8de1c test: improve msg sends and p2p disconnections in p2p_invalid_messages (Jon Atack)
57960192a5362ff1a7b996995332535f4c2a25c3 test: refactor test_large_inv() into 3 tests with common method (Jon Atack)
e2b21d8a597c536a8617408d43958bfe9f98a442 test: add p2p_invalid_messages logging (Jon Atack)
9fa494dc0969c61d5ef33708a08923cca19ce091 net: update misbehavior logging for oversized messages (Jon Atack)
Pull request description:
...seen while reviewing #19264, #19252, #19304 and #19107:
in `net_processing.cpp`
- make the debug logging for oversized message size misbehavior the same for `addr`, `getdata`, `headers` and `inv` messages
in `p2p_invalid_messages`
- add missing logging
- improve assertions/message sends, move cleanup disconnections outside the assertion scopes
- split a slowish 3-part test into 3 order-independent tests
- add a few p2p constants to the test framework
ACKs for top commit:
troygiorshev:
reACK 56010f92564a94b0ca6c008c0e6f74a19fad4a2a
MarcoFalke:
ACK 56010f9256 🎛
Tree-SHA512: db67b70278f8d4c318907e105af54b54eb3afd15500f9aa0c98034f6fd4bd1cf9ad1663037bd9b237ff4890f3059b37291a6498d8d6ae2cc38efb9f045f73310
Diffstat (limited to 'depends')
0 files changed, 0 insertions, 0 deletions