Currently the only way to track the mempool is to use GetMempoolEntries continuously which returns all the mempool entries. This is inefficient since we get all the entries as opposed to only what changed since we last checked.
Describe the solution you'd like
In preparation for building a scalable mempool visualizer we need a way to find out when transactions are added and removed from the mempool. Having notifications when transactions are added/removed from mempool is a way to go.
Is your feature request related to a problem? Please describe. Context: https://discord.com/channels/599153230659846165/755890250643144788/1179732597614575656
Currently the only way to track the mempool is to use
GetMempoolEntries
continuously which returns all the mempool entries. This is inefficient since we get all the entries as opposed to only what changed since we last checked.Describe the solution you'd like In preparation for building a scalable mempool visualizer we need a way to find out when transactions are added and removed from the mempool. Having notifications when transactions are added/removed from mempool is a way to go.