Commit Graph

59 Commits (fae44c83da982095661b034bdd01afe8ac2fb0a6)

Author SHA1 Message Date
Hennadii Stepanov a0473442d1
scripted-diff: Add `__file__` argument to `BitcoinTestFramework.init()`
4 months ago
Ava Chow a52837b9e9
Merge bitcoin/bitcoin#29575: net_processing: make any misbehavior trigger immediate discouragement
5 months ago
Pieter Wuille 6457c31197 net_processing: make all Misbehaving increments = 100
5 months ago
MarcoFalke faf2a975ad
test: Use int.to_bytes over struct packing
6 months ago
Martin Zumsande 6e9e39da43 test: Don't use v2transport when it's too slow.
9 months ago
Martin Zumsande 87549c8f89 test: enable p2p_invalid_messages.py with v2transport
9 months ago
brunoerg 02a4f1a385 addrman: log AS only when using asmap
1 year ago
Sebastian Falbesoner a97c59f12d test: p2p: check misbehavior for non-continuous headers messages
1 year ago
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