Motivation
We could help miners collect higher fees, shorten the wait-time for transactions to be mined, and make Zebra more efficient by returning from long polling immediately when the mempool changes.
Possible Designs
- Add a channel from the transaction verifier to the RPC server
- Send a message to the RPC server when mempool transactions are verified
- Debounce those messages
- Fetch mempool transactions when new transactions are verified instead of at a fixed interval
Possible Alternatives
We could instead check the mempool more frequently or at a configurable interval.
Motivation
We could help miners collect higher fees, shorten the wait-time for transactions to be mined, and make Zebra more efficient by returning from long polling immediately when the mempool changes.
Possible Designs
Possible Alternatives
We could instead check the mempool more frequently or at a configurable interval.