Function consensus_state

Source
fn consensus_state(
    constants: &MinaBaseProtocolConstantsCheckedValueStableV1,
    genesis_total_currency: CurrencyAmountStableV1,
    staking_epoch_ledger_hash: LedgerHash,
    staking_epoch_total_currency: CurrencyAmountStableV1,
    next_epoch_ledger_hash: LedgerHash,
    next_epoch_total_currency: CurrencyAmountStableV1,
    genesis_winner: NonZeroCurvePoint,
    staking_epoch_seed: EpochSeed,
    next_epoch_seed: EpochSeed,
    negative_one: bool,
) -> ConsensusProofOfStakeDataConsensusStateValueStableV2