| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Ouroboros.Consensus.Ledger.Peras
Description
Peras state to be stored in the extended ledger state.
Synopsis
- data PerasState blk = PerasState {}
- initPerasState ∷ ∀ blk (mk ∷ MapKind). (All (Top ∷ Type → Constraint) (HardForkIndices blk), StateSupportsPerasEpochContext blk, HasLedgerTables LedgerState blk) ⇒ LedgerCfg LedgerState blk → LedgerState blk mk → HeaderState blk → PerasState blk
- decodePerasState ∷ (∀ s. Decoder s (PerasEpochContextResolver blk)) → ∀ s. Decoder s (PerasState blk)
- encodePerasState ∷ (PerasEpochContextResolver blk → Encoding) → PerasState blk → Encoding
Documentation
data PerasState blk Source #
Peras state to be stored in the extended ledger state.
Constructors
| PerasState | |
Instances
initPerasState ∷ ∀ blk (mk ∷ MapKind). (All (Top ∷ Type → Constraint) (HardForkIndices blk), StateSupportsPerasEpochContext blk, HasLedgerTables LedgerState blk) ⇒ LedgerCfg LedgerState blk → LedgerState blk mk → HeaderState blk → PerasState blk Source #
decodePerasState ∷ (∀ s. Decoder s (PerasEpochContextResolver blk)) → ∀ s. Decoder s (PerasState blk) Source #
encodePerasState ∷ (PerasEpochContextResolver blk → Encoding) → PerasState blk → Encoding Source #