RethTransactionPoolConfig

Trait RethTransactionPoolConfig 

Source
pub trait RethTransactionPoolConfig {
    // Required methods
    fn pool_config(&self) -> PoolConfig;
    fn max_batch_size(&self) -> usize;
}
Expand description

Re-export the core configuration traits. A trait that provides all basic config values for the transaction pool and is implemented by the TxPoolArgs type.

Required Methods§

Source

fn pool_config(&self) -> PoolConfig

Returns transaction pool configuration.

Source

fn max_batch_size(&self) -> usize

Returns max batch size for transaction batch insertion.

Implementors§