Struct fuel_core_txpool::config::Config
source · pub struct Config {
pub max_tx: usize,
pub max_depth: usize,
pub min_gas_price: u64,
pub utxo_validation: bool,
pub chain_config: ChainConfig,
pub metrics: bool,
pub transaction_ttl: Duration,
}
Fields§
§max_tx: usize
Maximum number of transactions inside the pool
max_depth: usize
max depth of connected UTXO excluding contracts
min_gas_price: u64
The minimum allowed gas price
utxo_validation: bool
Flag to disable utxo existence and signature checks
chain_config: ChainConfig
chain config
metrics: bool
Enables prometheus metrics for this fuel-service
transaction_ttl: Duration
Transaction TTL
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
Blanket Implementations§
§impl<T> AnyDebug for Twhere
T: Any + Debug,
impl<T> AnyDebug for Twhere T: Any + Debug,
§fn as_any_ref(&self) -> &(dyn Any + 'static)
fn as_any_ref(&self) -> &(dyn Any + 'static)
Returns a reference to the underlying type as
Any
.source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more