As it turns out old mempool gossip (try to send TX every N ms) is completely unusable at high througput. So obvious solution is to try to send TX as soon as we accepted one in the mempool. Downside of new scheme is that we won't send txs that already in the mempool to freshly connected peer. But that should be handled separately.
This PR restores collection of mempool stats as well
As it turns out old mempool gossip (try to send TX every N ms) is completely unusable at high througput. So obvious solution is to try to send TX as soon as we accepted one in the mempool. Downside of new scheme is that we won't send txs that already in the mempool to freshly connected peer. But that should be handled separately.
This PR restores collection of mempool stats as well