Function forest_filecoin::libp2p::service::handle_forest_behaviour_event
source ยท async fn handle_forest_behaviour_event<DB>(
swarm: &mut Swarm<ForestBehaviour>,
bitswap_request_manager: &Arc<BitswapRequestManager>,
peer_manager: &Arc<PeerManager>,
event: ForestBehaviourEvent,
db: &Arc<ChainStore<DB>>,
genesis_cid: &Cid,
network_sender_out: &Sender<NetworkEvent>,
cx_response_tx: Sender<(InboundRequestId, ResponseChannel<ChainExchangeResponse>, ChainExchangeResponse)>,
pubsub_block_str: &str,
pubsub_msg_str: &str,
)