Nodes that don’t have bloomfilters turned on (i.e. no NODE_BLOOM
service) should disconnect peers that send them filterclear
P2P messages.
Non-bloomfilter nodes already disconnect peers for filteradd
and filterload
, but #8709 removed filterclear
so it could be used to reset tx relay. This isn’t needed now because using feefilter
message is much better for this purpose (See #19204).
Also refactors existing disconnect logic for filteradd
and filterload
into respective message handlers and removes banning for them.