Module cuprate_dandelion_tower::pool
source · Expand description
§Dandelion++ Pool
This module contains DandelionPool which is a thin wrapper around a backing transaction store,
which fully implements the dandelion++ protocol.
§How To Get Txs From DandelionPool.
DandelionPool does not provide a full tx-pool API. You cannot retrieve transactions from it or
check what transactions are in it, to do this you must keep a handle to the backing transaction store
yourself.
The reason for this is, the DandelionPool will only itself be passing these requests onto the backing
pool, so it makes sense to remove the “middle man”.
§Keep Stem Transactions Hidden
When using your handle to the backing store it must be remembered to keep transactions in the stem pool hidden. So handle any requests to the tx-pool like the stem side of the pool does not exist.
Structs§
- The dandelion++ tx pool.
- The dandelion tx pool service.
- An incoming transaction for the
DandelionPoolto handle.
Functions§
- Start the
DandelionPool.