Struct near_chain::types::ChainGenesis [−][src]
pub struct ChainGenesis {
pub time: DateTime<Utc>,
pub height: BlockHeight,
pub gas_limit: Gas,
pub min_gas_price: Balance,
pub max_gas_price: Balance,
pub total_supply: Balance,
pub gas_price_adjustment_rate: Rational,
pub transaction_validity_period: NumBlocks,
pub epoch_length: BlockHeightDelta,
pub protocol_version: ProtocolVersion,
}Expand description
Chain genesis configuration.
Fields
time: DateTime<Utc>height: BlockHeightgas_limit: Gasmin_gas_price: Balancemax_gas_price: Balancetotal_supply: Balancegas_price_adjustment_rate: Rationaltransaction_validity_period: NumBlocksepoch_length: BlockHeightDeltaprotocol_version: ProtocolVersionImplementations
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for ChainGenesis
impl Send for ChainGenesis
impl Sync for ChainGenesis
impl Unpin for ChainGenesis
impl UnwindSafe for ChainGenesis
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
pub fn vzip(self) -> V
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