pub fn build_maintenance_task<Block, C, P>(
client: &Arc<C>,
tx_pool: &Arc<P>,
pool: Arc<HopDataPool>,
buffer_secs: u64,
check_interval_secs: u64,
) -> HopMaintenanceTaskExpand description
Build a HopMaintenanceTask wired to the node’s client and transaction pool.
Detects HopRuntimeApi support at startup (see try_build_promoter) and captures
a best-block closure over client so callers only need to spawn the returned
task on their task manager.