mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-24 21:10:35 +01:00
56010f9256test: hoist p2p values to test framework constants (Jon Atack)75447f0893test: improve msg sends and p2p disconnections in p2p_invalid_messages (Jon Atack)57960192a5test: refactor test_large_inv() into 3 tests with common method (Jon Atack)e2b21d8a59test: add p2p_invalid_messages logging (Jon Atack)9fa494dc09net: 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: reACK56010f9256MarcoFalke: ACK56010f9256🎛 Tree-SHA512: db67b70278f8d4c318907e105af54b54eb3afd15500f9aa0c98034f6fd4bd1cf9ad1663037bd9b237ff4890f3059b37291a6498d8d6ae2cc38efb9f045f73310