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§
Sourcefn pool_config(&self) -> PoolConfig
fn pool_config(&self) -> PoolConfig
Returns transaction pool configuration.
Sourcefn max_batch_size(&self) -> usize
fn max_batch_size(&self) -> usize
Returns max batch size for transaction batch insertion.