Struct snapps_txn_reference_impl::condition::EpochDataCondition[][src]

pub struct EpochDataCondition {
    pub ledger: EpochLedgerCondition,
    pub seed: OrIgnore<Fp>,
    pub start_checkpoint: OrIgnore<StateHash>,
    pub lock_checkpoint: OrIgnore<StateHash>,
    pub epoch_length: OrIgnore<ClosedInterval<u32>>,
}
Expand description

Condition on the data for an epoch.

Fields

ledger: EpochLedgerCondition

Condition on the staking ledger for an epoch.

seed: OrIgnore<Fp>

Condition on the cryptographic seed for the epoch.

start_checkpoint: OrIgnore<StateHash>

Condition on the protocol state hash at the start of the epoch.

lock_checkpoint: OrIgnore<StateHash>

Condition on the protocol state hash, which is updated for the first 2/3 of the epoch.

epoch_length: OrIgnore<ClosedInterval<u32>>

The number of slots in the epoch that the seed has been updated for so far.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.