cuprated::txpool::dandelion

Function start_dandelion_pool_manager

Source
pub fn start_dandelion_pool_manager(
    router: DandelionRouter<OutboundPeerStream, DiffuseService, CrossNetworkInternalPeerId, StemPeerService<ClearNet>, DandelionTx>,
    txpool_read_handle: TxpoolReadHandle,
    txpool_write_handle: TxpoolWriteHandle,
) -> DandelionPoolService<DandelionTx, [u8; 32], CrossNetworkInternalPeerId>
Expand description

Starts the dandelion pool manager task and returns a handle to send txs to broadcast.