pub fn spawn_maintenance_tasks<Node, Pool>(
ctx: &BuilderContext<Node>,
pool: Pool,
pool_config: &PoolConfig,
) -> Result<(), Report>where
Node: FullNodeTypes,
Pool: TransactionPoolExt + Clone + 'static,
<Pool as TransactionPool>::Transaction: PoolTransaction<Consensus = <<<Node as FullNodeTypes>::Types as NodeTypes>::Primitives as NodePrimitives>::SignedTx>,
Expand description
Spawn all maintenance tasks for a transaction pool (backup + main maintenance).