Function forest_filecoin::libp2p::service::handle_chain_exchange_event

source ยท
async fn handle_chain_exchange_event<DB>(
    chain_exchange: &mut ChainExchangeBehaviour,
    ce_event: Event<ChainExchangeRequest, ChainExchangeResponse>,
    db: &Arc<ChainStore<DB>>,
    network_sender_out: &Sender<NetworkEvent>,
    cx_response_tx: Sender<(InboundRequestId, ResponseChannel<ChainExchangeResponse>, ChainExchangeResponse)>,
)
where DB: Blockstore + Sync + Send + 'static,