This is a simple functional test to increase coverage of #19988, checking that txid announcements from txid-relay peers are delayed by TXID_RELAY_DELAY, assuming we have at least another wtxid-relay peer.
You can verify new test with the following diff :
0diff --git a/src/net_processing.cpp b/src/net_processing.cpp
1index f14db379f..2a2805df5 100644
2--- a/src/net_processing.cpp
3+++ b/src/net_processing.cpp
4@@ -773,7 +773,7 @@ void PeerManager::AddTxAnnouncement(const CNode& node, const GenTxid& gtxid, std
5 auto delay = std::chrono::microseconds{0};
6 const bool preferred = state->fPreferredDownload;
7 if (!preferred) delay += NONPREF_PEER_TX_DELAY;
8- if (!gtxid.IsWtxid() && g_wtxid_relay_peers > 0) delay += TXID_RELAY_DELAY;
9+ //if (!gtxid.IsWtxid() && g_wtxid_relay_peers > 0) delay += TXID_RELAY_DELAY;
10 const bool overloaded = !node.HasPermission(PF_RELAY) &&
11 m_txrequest.CountInFlight(nodeid) >= MAX_PEER_TX_REQUEST_IN_FLIGHT;
12 if (overloaded) delay += OVERLOADED_PEER_TX_DELAY;