question for rust bdk developers... how do you keep in sync with the mempool?
is it possible to subscribe to wallet events somehow or is polling required?
question for rust bdk developers... how do you keep in sync with the mempool?
is it possible to subscribe to wallet events somehow or is polling required?
@RooSoft if you're running Bitcoin Core, RPC has the following APIs which appear useful.
* `getmempoolancestors()`
* `getmempooldescendants()`
* `getmempoolentry()`
* `getmempoolinfo()`
* `getrawmempool()`
Note that you can control the size of your local mempool with Bitcoin Core config.
Also maybe the `getblocktemplate()` api call is useful for your use case?
I agree... but I was specifically talking about https://bitcoindevkit.org
The rust lib doesn't seem to have realtime functions throwing events from nodes