loom_broadcast_broadcaster::flashbots

Function flashbots_broadcaster_worker

Source
async fn flashbots_broadcaster_worker<P, T, DB: Send + Sync + Clone + Default + 'static>(
    client: Arc<Flashbots<P, T>>,
    smart_mode: bool,
    bundle_rx: Broadcaster<MessageTxCompose<DB>>,
    allow_broadcast: bool,
) -> WorkerResult
where T: Transport + Clone, P: Provider<T, Ethereum> + Send + Sync + Clone + 'static,