Enum ethcore::miner::GasPricer [] [src]

pub enum GasPricer {
    Fixed(U256),
    Calibrated(GasPriceCalibrator),
}

Struct to look after updating the acceptable gas price of a miner.

Variants

A fixed gas price in terms of Wei - always the argument given.

Gas price is calibrated according to a fixed amount of USD.

Methods

impl GasPricer
[src]

Create a new Calibrated GasPricer.

Create a new Fixed GasPricer.

Trait Implementations

impl Debug for GasPricer
[src]

Formats the value using the given formatter.

impl PartialEq for GasPricer
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.