Struct ethers_middleware::gas_escalator::GeometricGasPrice [−][src]
pub struct GeometricGasPrice { /* fields omitted */ }
Expand description
Geometrically increasing gas price.
Start with initial_price
, then increase it every ‘every_secs’ seconds by a fixed coefficient.
Coefficient defaults to 1.125 (12.5%), the minimum increase for Parity to replace a transaction.
Coefficient can be adjusted, and there is an optional upper limit.
https://github.com/makerdao/pymaker/blob/master/pymaker/gas.py#L168
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for GeometricGasPrice
impl Send for GeometricGasPrice
impl Sync for GeometricGasPrice
impl Unpin for GeometricGasPrice
impl UnwindSafe for GeometricGasPrice
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more