aboutsummaryrefslogtreecommitdiff
path: root/src/net_processing.cpp
diff options
context:
space:
mode:
authorSebastian Falbesoner <[email protected]>2020-04-06 19:54:49 +0200
committerSebastian Falbesoner <[email protected]>2020-04-14 16:40:37 +0200
commita9ecbdfcaa15499644d16e9c8ad2c63dfc45b37b (patch)
treeff6658ef0004757fc6b2dcfd846616bbd5c217b6 /src/net_processing.cpp
parentnet: limit BIP37 filter lifespan (active between 'filterload' and 'filterclear') (diff)
downloaddiscoin-a9ecbdfcaa15499644d16e9c8ad2c63dfc45b37b.tar.xz
discoin-a9ecbdfcaa15499644d16e9c8ad2c63dfc45b37b.zip
test: add more inactive filter tests to p2p_filter.py
check the following expected behaviors if no filter is set: -> filtered block requests are ignored by the node -> sending a 'filteradd' message is treated as misbehavior (i.e. the peer's banscore increases by 100) also fixes a bug in the on_inv() callback method, which directly modified the type from BLOCK to FILTERED_BLOCK in the received 'inv' message rather than just for the reply Co-authored-by: MarcoFalke <[email protected]>
Diffstat (limited to 'src/net_processing.cpp')
0 files changed, 0 insertions, 0 deletions