diff options
| author | Sebastian Falbesoner <[email protected]> | 2020-04-06 19:54:49 +0200 |
|---|---|---|
| committer | Sebastian Falbesoner <[email protected]> | 2020-04-14 16:40:37 +0200 |
| commit | a9ecbdfcaa15499644d16e9c8ad2c63dfc45b37b (patch) | |
| tree | ff6658ef0004757fc6b2dcfd846616bbd5c217b6 /src/net_processing.cpp | |
| parent | net: limit BIP37 filter lifespan (active between 'filterload' and 'filterclear') (diff) | |
| download | discoin-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