aboutsummaryrefslogtreecommitdiff
path: root/src/net.h
diff options
context:
space:
mode:
authorSebastian Falbesoner <sebastian.falbesoner@gmail.com>2020-04-06 19:54:49 +0200
committerSebastian Falbesoner <sebastian.falbesoner@gmail.com>2020-04-14 16:40:37 +0200
commita9ecbdfcaa15499644d16e9c8ad2c63dfc45b37b (patch)
treeff6658ef0004757fc6b2dcfd846616bbd5c217b6 /src/net.h
parent5eae034996b340c19cebab9efb6c89d20fe051ef (diff)
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 <falke.marco@gmail.com>
Diffstat (limited to 'src/net.h')
0 files changed, 0 insertions, 0 deletions