Function fuel_core_txpool::service::new_service
source ยท pub fn new_service<P2P, Importer, ViewProvider, GasPriceProvider, ConsensusProvider, MP>(
config: Config,
provider: ViewProvider,
importer: Importer,
p2p: P2P,
current_height: BlockHeight,
gas_price_provider: GasPriceProvider,
consensus_parameters_provider: ConsensusProvider,
memory_pool: MP,
) -> Service<P2P, ViewProvider, GasPriceProvider, ConsensusProvider, MP>where
Importer: BlockImporter,
P2P: PeerToPeer<GossipedTransaction = TransactionGossipData> + 'static,
ViewProvider: AtomicView,
ViewProvider::View: TxPoolDb,
GasPriceProvider: GasPriceProviderConstraint + Send + Sync,
ConsensusProvider: ConsensusParametersProvider + Send + Sync,
MP: MemoryPool + Send + Sync,