Commit Graph

51 Commits (71300489af362c3fed4736de6bffab4d758b6a84)

Author SHA1 Message Date
MarcoFalke fa1eb0ecae
test: Make the unlikely race in p2p_invalid_messages impossible
2 years ago
Sebastian Falbesoner 772671245d test: p2p: check that headers message with invalid proof-of-work disconnects peer
2 years ago
MarcoFalke fac23c2114
scripted-diff: Bump copyright headers
3 years ago
Martin Zumsande b65a25a846 log: improve addrman logging
3 years ago
Sebastian Falbesoner ca6c154ef1 test: refactor: remove `hex_str_to_bytes` helper
3 years ago
Pieter Wuille 0d64b8f709 Rate limit the processing of incoming addr messages
3 years ago
W. J. van der Laan 09205b33aa net: Clarify message header validation errors
4 years ago
W. J. van der Laan 955eee7680 net: Sanitize message type for logging
4 years ago
MarcoFalke faaad1bbac
p2p: Ignore version msgs after initial version msg
4 years ago
Vasil Dimov 353a3fdaad
net: advertise support for ADDRv2 via new message
4 years ago
fanquake 6af9b31bfc
Merge #19107: p2p: Move all header verification into the network layer, extend logging
4 years ago
MarcoFalke faa94cb167
test: Check that invalid peer traffic is accounted for
4 years ago
MarcoFalke fae243f0cb
test: Remove confusing cast to same type (int to int)
4 years ago
Troy Giorshev deb52711a1 Remove header checks out of net_processing
4 years ago
Seleme Topuz 1343c86c7c test: Update wait_until usage in tests not to use the one from utils
4 years ago
John Newbery 85165d4332 scripted-diff: Rename mininode to p2p
4 years ago
Jon Atack 56010f9256
test: hoist p2p values to test framework constants
4 years ago
Jon Atack 75447f0893
test: improve msg sends and p2p disconnections in p2p_invalid_messages
4 years ago
Jon Atack 57960192a5
test: refactor test_large_inv() into 3 tests with common method
4 years ago
Jon Atack e2b21d8a59
test: add p2p_invalid_messages logging
4 years ago
Jon Atack 9fa494dc09
net: update misbehavior logging for oversized messages
4 years ago
Troy Giorshev 80d4423f99 Test buffered valid message
4 years ago
John Newbery 49236be099 [tests] Don't import asyncio to test magic bytes
4 years ago
Troy Giorshev af2a145e57 Refactor resource exhaustion test
4 years ago
Troy Giorshev 5c4648d17b Fix "invalid message size" test
4 years ago
Troy Giorshev ff1e7b8844 Move size limits to module-global
4 years ago
Troy Giorshev 57890abf2c Remove two unneeded tests
4 years ago
Sebastian Falbesoner 4a614ff88a test: explicit imports from test_framework.messages in p2p_invalid_messages.py
5 years ago
Sebastian Falbesoner eeaaa58d2c test: replace inv type magic numbers by constants
5 years ago
MarcoFalke d2882a012b
Merge #18610: scripted-diff: test: replace command with msgtype (naming)
5 years ago
MarcoFalke fa488f131f
scripted-diff: Bump copyright headers
5 years ago
Sebastian Falbesoner 9df32e820d scripted-diff: test: replace command with msgtype
5 years ago
MarcoFalke fa4c29bc1d
test: Add various low-level p2p tests
5 years ago
MarcoFalke faf1d04731
test: Remove redundant sync_with_ping after add_p2p_connection
5 years ago
MarcoFalke c26b05c2b7
Merge #17770: test: bump test timeouts so that functional tests run in valgrind
5 years ago
Micky Yun Chan 2d23082cbe bump test timeouts so that functional tests run in valgrind
5 years ago
Elichai Turkel f117fb00da
Replace coroutine with async def in p2p_invalid_messages.py
5 years ago
MarcoFalke fac942ca57
test: Remove fragile assert_memory_usage_stable
5 years ago
Pieter Wuille 6a91499496
Remove oversized message detection from log and interface
5 years ago
Jonas Schnelli 6294ecdb8b
Refactor: split network transport deserializing from message container
5 years ago
MarcoFalke fa502cb6f0
test: Bump timeouts in slow running tests
5 years ago
Fabian Jahr c3dfc91032 test: Skip flaky p2p_invalid_messages test on macOS
5 years ago
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
6 years ago