RethTransactionPoolConfig

Trait RethTransactionPoolConfig 

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

A trait that provides all basic config values for the transaction pool and is implemented by the TxPoolArgs type.

Required Methods§

fn pool_config(&self) -> PoolConfig

Returns transaction pool configuration.

fn max_batch_size(&self) -> usize

Returns max batch size for transaction batch insertion.

Implementors§