ExtendedEpochInfoV0Getters

Trait ExtendedEpochInfoV0Getters 

Source
pub trait ExtendedEpochInfoV0Getters {
    // Required methods
    fn index(&self) -> EpochIndex;
    fn first_block_time(&self) -> u64;
    fn first_block_height(&self) -> u64;
    fn first_core_block_height(&self) -> u32;
    fn fee_multiplier_permille(&self) -> u64;
    fn protocol_version(&self) -> ProtocolVersion;
}
Expand description

Trait defining getters for ExtendedEpochInfoV0.

Required Methods§

Source

fn index(&self) -> EpochIndex

Returns the epoch index.

Source

fn first_block_time(&self) -> u64

Returns the first block time.

Source

fn first_block_height(&self) -> u64

Returns the first platform block height.

Source

fn first_core_block_height(&self) -> u32

Returns the first core block height.

Source

fn fee_multiplier_permille(&self) -> u64

Returns 1000 times the fee multiplier. so 1000 would be 1.

Source

fn protocol_version(&self) -> ProtocolVersion

Protocol version

Implementors§