Function initialize_zones_p2p

Source
pub async fn initialize_zones_p2p(
    config: &Config,
    context_svc: BlockchainContextService,
    blockchain_write_handle: BlockchainWriteHandle,
    blockchain_read_handle: BlockchainReadHandle,
    txpool_write_handle: TxpoolWriteHandle,
    txpool_read_handle: TxpoolReadHandle,
) -> (NetworkInterfaces, Vec<Sender<IncomingTxHandler>>)
Expand description

Initialize all P2P network zones. Returning a NetworkInterfaces collection and a Vec<Sender<IncomingTxHandler>> for propagating the tx handler.