Function fuel_core_poa::service::new_service
source ยท pub fn new_service<T, B, I, P>(
last_block: &BlockHeader,
config: Config,
txpool: T,
block_producer: B,
block_importer: I,
p2p_port: P,
) -> Service<T, B, I>where
T: TransactionPool + 'static,
B: BlockProducer + 'static,
I: BlockImporter + 'static,
P: P2pPort,