start_txpool_manager

Function start_txpool_manager 

Source
pub async fn start_txpool_manager(
    txpool_write_handle: TxpoolWriteHandle,
    txpool_read_handle: TxpoolReadHandle,
    promote_tx_channel: UnboundedReceiver<[u8; 32]>,
    diffuse_service: DiffuseService<ClearNet>,
    dandelion_pool_manager: DandelionPoolService<DandelionTx, [u8; 32], CrossNetworkInternalPeerId>,
    config: TxpoolConfig,
) -> TxpoolManagerHandle
Expand description

Starts the transaction pool manager service.

ยงPanics

This function may panic if any inner service has an unrecoverable error.