diff options
author | MarcoFalke <falke.marco@gmail.com> | 2020-06-12 15:29:48 -0400 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2020-06-12 15:29:53 -0400 |
commit | f154071ec81760ffdb552d5768243a62e1e9eceb (patch) | |
tree | 2318d03f68b2aa1d1a9764e22e983289f9e58056 /depends/config.site.in | |
parent | 5af16a4db76f8c00b6c9598147ab49d79be1f149 (diff) | |
parent | af2a145e575f23c64909e6cf1fb323c603bda7ca (diff) |
Merge #19177: test: Fix and clean p2p_invalid_messages functional tests
af2a145e575f23c64909e6cf1fb323c603bda7ca Refactor resource exhaustion test (Troy Giorshev)
5c4648d17ba18e4194959963994cc6b37053f127 Fix "invalid message size" test (Troy Giorshev)
ff1e7b884447a5ba10553b2d964625f94e255bdc Move size limits to module-global (Troy Giorshev)
57890abf2c7919eddfec36178b1136cd44ffe883 Remove two unneeded tests (Troy Giorshev)
Pull request description:
This PR touches only the p2p_invalid_messages.py functional test module. There are two main goals accomplished here. First, it fixes the "invalid message size" test, which previously made a message that was invalid for multiple reasons. Second, it refactors the file into a single consistent style. This file appears to have originally had two authors, with different styles and some test duplication.
It should now be easier and quicker to understand this module, anticipating the upcoming [BIP324](https://github.com/bitcoin/bitcoin/pull/18242) and [AltNet](https://github.com/bitcoin/bitcoin/issues/18989) changes.
This should probably go in ahead of #19107, but the two are not strictly related.
ACKs for top commit:
jnewbery:
ACK af2a145e575f23c64909e6cf1fb323c603bda7ca
MarcoFalke:
re-ACK af2a145e57 🍦
Tree-SHA512: 9b57561e142c5eaefac5665f7355c8651670400b4db1a89525d2dfdd20e872d6873c4f6175c4222b6f5a8e5210cf5d6a52da69b925b673a2e2ac30a15d670d1c
Diffstat (limited to 'depends/config.site.in')
0 files changed, 0 insertions, 0 deletions