MarcoFalke
faca95effd
qa: Make swap_magic_bytes in p2p_invalid_messages atomic
6 years ago
MarcoFalke
fac3a054cb
test: Fix race in p2p_invalid_messages
6 years ago
MarcoFalke
fa3745bda8
qa: Add tests for invalid message headers
6 years ago
MarcoFalke
fa05d52af4
test: Bump timeout to run tests in travis thread sanitizer
6 years ago
practicalswift
ebd3bf2590
Make test p2p_invalid_messages.py pass: Allow for expected Travis ASAN memory increase
6 years ago
James O'Beirne
5a1f57646b
qa: clean up assert_memory_usage_stable utility
6 years ago
James O'Beirne
0cf1632f03
qa: fix p2p_invalid_messages on macOS
6 years ago
James O'Beirne
3d305e3b89
Send fewer spam messages in p2p_invalid_messages
...
Builds on travis are failing because the test node isn't
able to drop all the bad messages sent within the given
timeout. Reduce the number of bad messages we're sending
and increase the timeout to avoid failures on travis.
6 years ago
James O'Beirne
d20a9fa13d
tests: add tests for invalid P2P messages
...
E.g., ensure that we can't DoS a node by sending it a bunch of large,
unrecognized messages.
6 years ago