ouroboros-consensus
Safe HaskellNone
LanguageHaskell2010

Ouroboros.Consensus.Ledger.Peras

Description

Peras state to be stored in the extended ledger state.

Synopsis

Documentation

data PerasState blk Source #

Peras state to be stored in the extended ledger state.

Instances

Instances details
(Typeable blk, FromCBOR (PerasVotingCommittee blk))DecodeDisk blk (PerasState blk) Source # 
Instance details

Defined in Ouroboros.Consensus.Ledger.Peras

Methods

decodeDiskCodecConfig blk → ∀ s. Decoder s (PerasState blk) Source #

(Typeable blk, ToCBOR (PerasVotingCommittee blk))EncodeDisk blk (PerasState blk) Source # 
Instance details

Defined in Ouroboros.Consensus.Ledger.Peras

Methods

encodeDiskCodecConfig blk → PerasState blk → Encoding Source #

(Typeable blk, FromCBOR (PerasVotingCommittee blk))FromCBOR (PerasState blk) Source # 
Instance details

Defined in Ouroboros.Consensus.Ledger.Peras

Methods

fromCBORDecoder s (PerasState blk) Source #

labelProxy (PerasState blk) → Text Source #

(Typeable blk, ToCBOR (PerasVotingCommittee blk))ToCBOR (PerasState blk) Source # 
Instance details

Defined in Ouroboros.Consensus.Ledger.Peras

Methods

toCBORPerasState blk → Encoding Source #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (PerasState blk) → Size Source #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [PerasState blk] → Size Source #

Eq (PerasVotingCommittee blk) ⇒ Eq (PerasState blk) Source # 
Instance details

Defined in Ouroboros.Consensus.Ledger.Peras

Methods

(==)PerasState blk → PerasState blk → Bool #

(/=)PerasState blk → PerasState blk → Bool #

Generic (PerasState blk) Source # 
Instance details

Defined in Ouroboros.Consensus.Ledger.Peras

Associated Types

type Rep (PerasState blk) 
Instance details

Defined in Ouroboros.Consensus.Ledger.Peras

type Rep (PerasState blk) = D1 ('MetaData "PerasState" "Ouroboros.Consensus.Ledger.Peras" "ouroboros-consensus-4.0.0.0-inplace" 'False) (C1 ('MetaCons "PerasState" 'PrefixI 'True) (S1 ('MetaSel ('Just "perasEpochContextResolver") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (PerasEpochContextResolver blk)) :*: S1 ('MetaSel ('Just "latestPerasCertOnChainRound") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (StrictMaybe PerasRoundNo))))

Methods

fromPerasState blk → Rep (PerasState blk) x #

toRep (PerasState blk) x → PerasState blk #

Show (PerasVotingCommittee blk) ⇒ Show (PerasState blk) Source # 
Instance details

Defined in Ouroboros.Consensus.Ledger.Peras

Methods

showsPrecIntPerasState blk → ShowS #

showPerasState blk → String #

showList ∷ [PerasState blk] → ShowS #

NoThunks (PerasVotingCommittee blk) ⇒ NoThunks (PerasState blk) Source # 
Instance details

Defined in Ouroboros.Consensus.Ledger.Peras

type Rep (PerasState blk) Source # 
Instance details

Defined in Ouroboros.Consensus.Ledger.Peras

type Rep (PerasState blk) = D1 ('MetaData "PerasState" "Ouroboros.Consensus.Ledger.Peras" "ouroboros-consensus-4.0.0.0-inplace" 'False) (C1 ('MetaCons "PerasState" 'PrefixI 'True) (S1 ('MetaSel ('Just "perasEpochContextResolver") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (PerasEpochContextResolver blk)) :*: S1 ('MetaSel ('Just "latestPerasCertOnChainRound") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (StrictMaybe PerasRoundNo))))