This PR adds a test case that checks that a switch to tx relay via filterclear can trigger eviction.
It kills the following mutant (https://mutanthub.space/mutants/3746):
diff --git a/src/net_processing.cpp b/src/net_processing.cpp
index 96caf9050f..d9019db877 100644
--- a/src/net_processing.cpp
+++ b/src/net_processing.cpp
@@ -5312,7 +5312,6 @@ void PeerManagerImpl::ProcessMessage(Peer& peer, CNode& pfrom, const std::string
}
pfrom.m_bloom_filter_loaded = false;
pfrom.m_relays_txs = true;
- MaybeDisconnectForTxRelayCapacity(pfrom, msg_type);
return;
}