Struct fuel_txpool::service::Context
source · pub struct Context {
pub config: Config,
pub db: Arc<Box<dyn TxPoolDb>>,
pub txpool_receiver: Receiver<TxPoolMpsc>,
pub tx_status_sender: TxStatusChange,
pub import_block_receiver: Receiver<ImportBlockBroadcast>,
pub incoming_tx_receiver: Receiver<TransactionGossipData>,
pub network_sender: Sender<P2pRequestEvent>,
}
Fields§
§config: Config
§db: Arc<Box<dyn TxPoolDb>>
§txpool_receiver: Receiver<TxPoolMpsc>
§tx_status_sender: TxStatusChange
§import_block_receiver: Receiver<ImportBlockBroadcast>
§incoming_tx_receiver: Receiver<TransactionGossipData>
§network_sender: Sender<P2pRequestEvent>