| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Ouroboros.Consensus.Peras.Params
Description
Peras protocol parameters
Synopsis
- newtype PerasIgnoranceRounds = PerasIgnoranceRounds {}
- newtype PerasCooldownRounds = PerasCooldownRounds {}
- newtype PerasBlockMinSlots = PerasBlockMinSlots {}
- newtype PerasCertArrivalThreshold = PerasCertArrivalThreshold {}
- newtype PerasRoundLength = PerasRoundLength {}
- newtype PerasWeight = PerasWeight {}
- newtype PerasQuorumStakeThreshold = PerasQuorumStakeThreshold {}
- newtype PerasQuorumStakeThresholdSafetyMargin = PerasQuorumStakeThresholdSafetyMargin {}
- data PerasParams = PerasParams {
- perasIgnoranceRounds ∷ PerasIgnoranceRounds
- perasCooldownRounds ∷ PerasCooldownRounds
- perasBlockMinSlots ∷ PerasBlockMinSlots
- perasCertArrivalThreshold ∷ PerasCertArrivalThreshold
- perasRoundLength ∷ !PerasRoundLength
- perasWeight ∷ !PerasWeight
- perasQuorumStakeThreshold ∷ !PerasQuorumStakeThreshold
- perasQuorumStakeThresholdSafetyMargin ∷ !PerasQuorumStakeThresholdSafetyMargin
- mkPerasParams ∷ PerasParams
Protocol parameters
newtype PerasIgnoranceRounds Source #
Number of rounds for which to ignore certificates after entering a cooldown period.
Constructors
| PerasIgnoranceRounds | |
Fields | |
Instances
newtype PerasCooldownRounds Source #
Minimum number of rounds to wait before voting again after a cooldown period starts.
Constructors
| PerasCooldownRounds | |
Fields | |
Instances
| Enum PerasCooldownRounds Source # | |||||
Defined in Ouroboros.Consensus.Peras.Params Methods succ ∷ PerasCooldownRounds → PerasCooldownRounds # pred ∷ PerasCooldownRounds → PerasCooldownRounds # toEnum ∷ Int → PerasCooldownRounds # fromEnum ∷ PerasCooldownRounds → Int # enumFrom ∷ PerasCooldownRounds → [PerasCooldownRounds] # enumFromThen ∷ PerasCooldownRounds → PerasCooldownRounds → [PerasCooldownRounds] # enumFromTo ∷ PerasCooldownRounds → PerasCooldownRounds → [PerasCooldownRounds] # enumFromThenTo ∷ PerasCooldownRounds → PerasCooldownRounds → PerasCooldownRounds → [PerasCooldownRounds] # | |||||
| Generic PerasCooldownRounds Source # | |||||
Defined in Ouroboros.Consensus.Peras.Params Associated Types
Methods | |||||
| Show PerasCooldownRounds Source # | |||||
Defined in Ouroboros.Consensus.Peras.Params Methods showsPrec ∷ Int → PerasCooldownRounds → ShowS # show ∷ PerasCooldownRounds → String # showList ∷ [PerasCooldownRounds] → ShowS # | |||||
| Eq PerasCooldownRounds Source # | |||||
Defined in Ouroboros.Consensus.Peras.Params Methods | |||||
| Ord PerasCooldownRounds Source # | |||||
Defined in Ouroboros.Consensus.Peras.Params Methods compare ∷ PerasCooldownRounds → PerasCooldownRounds → Ordering # (<) ∷ PerasCooldownRounds → PerasCooldownRounds → Bool # (<=) ∷ PerasCooldownRounds → PerasCooldownRounds → Bool # (>) ∷ PerasCooldownRounds → PerasCooldownRounds → Bool # (>=) ∷ PerasCooldownRounds → PerasCooldownRounds → Bool # max ∷ PerasCooldownRounds → PerasCooldownRounds → PerasCooldownRounds # min ∷ PerasCooldownRounds → PerasCooldownRounds → PerasCooldownRounds # | |||||
| NoThunks PerasCooldownRounds Source # | |||||
Defined in Ouroboros.Consensus.Peras.Params | |||||
| Condense PerasCooldownRounds Source # | |||||
Defined in Ouroboros.Consensus.Peras.Params Methods | |||||
| type Rep PerasCooldownRounds Source # | |||||
Defined in Ouroboros.Consensus.Peras.Params type Rep PerasCooldownRounds = D1 ('MetaData "PerasCooldownRounds" "Ouroboros.Consensus.Peras.Params" "ouroboros-consensus-1.0.0.0-inplace" 'True) (C1 ('MetaCons "PerasCooldownRounds" 'PrefixI 'True) (S1 ('MetaSel ('Just "unPerasCooldownRounds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word64))) | |||||
newtype PerasBlockMinSlots Source #
Minimum age in slots of a block before it can be voted for in order to get a boost.
Constructors
| PerasBlockMinSlots | |
Fields | |
Instances
| Enum PerasBlockMinSlots Source # | |||||
Defined in Ouroboros.Consensus.Peras.Params Methods succ ∷ PerasBlockMinSlots → PerasBlockMinSlots # pred ∷ PerasBlockMinSlots → PerasBlockMinSlots # toEnum ∷ Int → PerasBlockMinSlots # fromEnum ∷ PerasBlockMinSlots → Int # enumFrom ∷ PerasBlockMinSlots → [PerasBlockMinSlots] # enumFromThen ∷ PerasBlockMinSlots → PerasBlockMinSlots → [PerasBlockMinSlots] # enumFromTo ∷ PerasBlockMinSlots → PerasBlockMinSlots → [PerasBlockMinSlots] # enumFromThenTo ∷ PerasBlockMinSlots → PerasBlockMinSlots → PerasBlockMinSlots → [PerasBlockMinSlots] # | |||||
| Generic PerasBlockMinSlots Source # | |||||
Defined in Ouroboros.Consensus.Peras.Params Associated Types
Methods | |||||
| Show PerasBlockMinSlots Source # | |||||
Defined in Ouroboros.Consensus.Peras.Params Methods showsPrec ∷ Int → PerasBlockMinSlots → ShowS # show ∷ PerasBlockMinSlots → String # showList ∷ [PerasBlockMinSlots] → ShowS # | |||||
| Eq PerasBlockMinSlots Source # | |||||
Defined in Ouroboros.Consensus.Peras.Params Methods | |||||
| Ord PerasBlockMinSlots Source # | |||||
Defined in Ouroboros.Consensus.Peras.Params Methods compare ∷ PerasBlockMinSlots → PerasBlockMinSlots → Ordering # (<) ∷ PerasBlockMinSlots → PerasBlockMinSlots → Bool # (<=) ∷ PerasBlockMinSlots → PerasBlockMinSlots → Bool # (>) ∷ PerasBlockMinSlots → PerasBlockMinSlots → Bool # (>=) ∷ PerasBlockMinSlots → PerasBlockMinSlots → Bool # max ∷ PerasBlockMinSlots → PerasBlockMinSlots → PerasBlockMinSlots # min ∷ PerasBlockMinSlots → PerasBlockMinSlots → PerasBlockMinSlots # | |||||
| NoThunks PerasBlockMinSlots Source # | |||||
Defined in Ouroboros.Consensus.Peras.Params | |||||
| Condense PerasBlockMinSlots Source # | |||||
Defined in Ouroboros.Consensus.Peras.Params Methods | |||||
| type Rep PerasBlockMinSlots Source # | |||||
Defined in Ouroboros.Consensus.Peras.Params type Rep PerasBlockMinSlots = D1 ('MetaData "PerasBlockMinSlots" "Ouroboros.Consensus.Peras.Params" "ouroboros-consensus-1.0.0.0-inplace" 'True) (C1 ('MetaCons "PerasBlockMinSlots" 'PrefixI 'True) (S1 ('MetaSel ('Just "unPerasBlockMinSlots") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word64))) | |||||
newtype PerasCertArrivalThreshold Source #
Maximum number of slots to wait for after the start of a round to consider a certificate valid for voting.
Constructors
| PerasCertArrivalThreshold | |
Fields | |
Instances
| Enum PerasCertArrivalThreshold Source # | |||||
Defined in Ouroboros.Consensus.Peras.Params Methods succ ∷ PerasCertArrivalThreshold → PerasCertArrivalThreshold # pred ∷ PerasCertArrivalThreshold → PerasCertArrivalThreshold # toEnum ∷ Int → PerasCertArrivalThreshold # fromEnum ∷ PerasCertArrivalThreshold → Int # enumFrom ∷ PerasCertArrivalThreshold → [PerasCertArrivalThreshold] # enumFromThen ∷ PerasCertArrivalThreshold → PerasCertArrivalThreshold → [PerasCertArrivalThreshold] # enumFromTo ∷ PerasCertArrivalThreshold → PerasCertArrivalThreshold → [PerasCertArrivalThreshold] # enumFromThenTo ∷ PerasCertArrivalThreshold → PerasCertArrivalThreshold → PerasCertArrivalThreshold → [PerasCertArrivalThreshold] # | |||||
| Generic PerasCertArrivalThreshold Source # | |||||
Defined in Ouroboros.Consensus.Peras.Params Associated Types
| |||||
| Show PerasCertArrivalThreshold Source # | |||||
Defined in Ouroboros.Consensus.Peras.Params Methods showsPrec ∷ Int → PerasCertArrivalThreshold → ShowS # | |||||
| Eq PerasCertArrivalThreshold Source # | |||||
Defined in Ouroboros.Consensus.Peras.Params | |||||
| Ord PerasCertArrivalThreshold Source # | |||||
Defined in Ouroboros.Consensus.Peras.Params Methods compare ∷ PerasCertArrivalThreshold → PerasCertArrivalThreshold → Ordering # (<) ∷ PerasCertArrivalThreshold → PerasCertArrivalThreshold → Bool # (<=) ∷ PerasCertArrivalThreshold → PerasCertArrivalThreshold → Bool # (>) ∷ PerasCertArrivalThreshold → PerasCertArrivalThreshold → Bool # (>=) ∷ PerasCertArrivalThreshold → PerasCertArrivalThreshold → Bool # max ∷ PerasCertArrivalThreshold → PerasCertArrivalThreshold → PerasCertArrivalThreshold # min ∷ PerasCertArrivalThreshold → PerasCertArrivalThreshold → PerasCertArrivalThreshold # | |||||
| NoThunks PerasCertArrivalThreshold Source # | |||||
Defined in Ouroboros.Consensus.Peras.Params | |||||
| Condense PerasCertArrivalThreshold Source # | |||||
Defined in Ouroboros.Consensus.Peras.Params Methods | |||||
| type Rep PerasCertArrivalThreshold Source # | |||||
Defined in Ouroboros.Consensus.Peras.Params type Rep PerasCertArrivalThreshold = D1 ('MetaData "PerasCertArrivalThreshold" "Ouroboros.Consensus.Peras.Params" "ouroboros-consensus-1.0.0.0-inplace" 'True) (C1 ('MetaCons "PerasCertArrivalThreshold" 'PrefixI 'True) (S1 ('MetaSel ('Just "unPerasCertArrivalThreshold") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word64))) | |||||
newtype PerasRoundLength Source #
Length of a Peras round in slots.
Constructors
| PerasRoundLength | |
Fields | |
Instances
| Enum PerasRoundLength Source # | |||||
Defined in Ouroboros.Consensus.Peras.Params Methods succ ∷ PerasRoundLength → PerasRoundLength # pred ∷ PerasRoundLength → PerasRoundLength # toEnum ∷ Int → PerasRoundLength # fromEnum ∷ PerasRoundLength → Int # enumFrom ∷ PerasRoundLength → [PerasRoundLength] # enumFromThen ∷ PerasRoundLength → PerasRoundLength → [PerasRoundLength] # enumFromTo ∷ PerasRoundLength → PerasRoundLength → [PerasRoundLength] # enumFromThenTo ∷ PerasRoundLength → PerasRoundLength → PerasRoundLength → [PerasRoundLength] # | |||||
| Generic PerasRoundLength Source # | |||||
Defined in Ouroboros.Consensus.Peras.Params Associated Types
Methods from ∷ PerasRoundLength → Rep PerasRoundLength x # to ∷ Rep PerasRoundLength x → PerasRoundLength # | |||||
| Show PerasRoundLength Source # | |||||
Defined in Ouroboros.Consensus.Peras.Params Methods showsPrec ∷ Int → PerasRoundLength → ShowS # show ∷ PerasRoundLength → String # showList ∷ [PerasRoundLength] → ShowS # | |||||
| Eq PerasRoundLength Source # | |||||
Defined in Ouroboros.Consensus.Peras.Params Methods | |||||
| Ord PerasRoundLength Source # | |||||
Defined in Ouroboros.Consensus.Peras.Params Methods compare ∷ PerasRoundLength → PerasRoundLength → Ordering # (<) ∷ PerasRoundLength → PerasRoundLength → Bool # (<=) ∷ PerasRoundLength → PerasRoundLength → Bool # (>) ∷ PerasRoundLength → PerasRoundLength → Bool # (>=) ∷ PerasRoundLength → PerasRoundLength → Bool # max ∷ PerasRoundLength → PerasRoundLength → PerasRoundLength # min ∷ PerasRoundLength → PerasRoundLength → PerasRoundLength # | |||||
| NoThunks PerasRoundLength Source # | |||||
Defined in Ouroboros.Consensus.Peras.Params | |||||
| type Rep PerasRoundLength Source # | |||||
Defined in Ouroboros.Consensus.Peras.Params type Rep PerasRoundLength = D1 ('MetaData "PerasRoundLength" "Ouroboros.Consensus.Peras.Params" "ouroboros-consensus-1.0.0.0-inplace" 'True) (C1 ('MetaCons "PerasRoundLength" 'PrefixI 'True) (S1 ('MetaSel ('Just "unPerasRoundLength") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word64))) | |||||
newtype PerasWeight Source #
Weight assigned to a block when boosted by a Peras certificate.
Constructors
| PerasWeight | |
Fields | |
Instances
| Monoid PerasWeight Source # | |||||
Defined in Ouroboros.Consensus.Peras.Params | |||||
| Semigroup PerasWeight Source # | |||||
Defined in Ouroboros.Consensus.Peras.Params Methods (<>) ∷ PerasWeight → PerasWeight → PerasWeight # sconcat ∷ NonEmpty PerasWeight → PerasWeight # stimes ∷ Integral b ⇒ b → PerasWeight → PerasWeight # | |||||
| Enum PerasWeight Source # | |||||
Defined in Ouroboros.Consensus.Peras.Params Methods succ ∷ PerasWeight → PerasWeight # pred ∷ PerasWeight → PerasWeight # toEnum ∷ Int → PerasWeight # fromEnum ∷ PerasWeight → Int # enumFrom ∷ PerasWeight → [PerasWeight] # enumFromThen ∷ PerasWeight → PerasWeight → [PerasWeight] # enumFromTo ∷ PerasWeight → PerasWeight → [PerasWeight] # enumFromThenTo ∷ PerasWeight → PerasWeight → PerasWeight → [PerasWeight] # | |||||
| Generic PerasWeight Source # | |||||
Defined in Ouroboros.Consensus.Peras.Params Associated Types
| |||||
| Show PerasWeight Source # | |||||
Defined in Ouroboros.Consensus.Peras.Params Methods showsPrec ∷ Int → PerasWeight → ShowS # show ∷ PerasWeight → String # showList ∷ [PerasWeight] → ShowS # | |||||
| Eq PerasWeight Source # | |||||
Defined in Ouroboros.Consensus.Peras.Params | |||||
| Ord PerasWeight Source # | |||||
Defined in Ouroboros.Consensus.Peras.Params Methods compare ∷ PerasWeight → PerasWeight → Ordering # (<) ∷ PerasWeight → PerasWeight → Bool # (<=) ∷ PerasWeight → PerasWeight → Bool # (>) ∷ PerasWeight → PerasWeight → Bool # (>=) ∷ PerasWeight → PerasWeight → Bool # max ∷ PerasWeight → PerasWeight → PerasWeight # min ∷ PerasWeight → PerasWeight → PerasWeight # | |||||
| NoThunks PerasWeight Source # | |||||
Defined in Ouroboros.Consensus.Peras.Params | |||||
| Condense PerasWeight Source # | |||||
Defined in Ouroboros.Consensus.Peras.Params Methods condense ∷ PerasWeight → String Source # | |||||
| type Rep PerasWeight Source # | |||||
Defined in Ouroboros.Consensus.Peras.Params type Rep PerasWeight = D1 ('MetaData "PerasWeight" "Ouroboros.Consensus.Peras.Params" "ouroboros-consensus-1.0.0.0-inplace" 'True) (C1 ('MetaCons "PerasWeight" 'PrefixI 'True) (S1 ('MetaSel ('Just "unPerasWeight") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word64))) | |||||
newtype PerasQuorumStakeThreshold Source #
Total stake needed to forge a Peras certificate.
Constructors
| PerasQuorumStakeThreshold | |
Fields | |
Instances
| Generic PerasQuorumStakeThreshold Source # | |||||
Defined in Ouroboros.Consensus.Peras.Params Associated Types
| |||||
| Show PerasQuorumStakeThreshold Source # | |||||
Defined in Ouroboros.Consensus.Peras.Params Methods showsPrec ∷ Int → PerasQuorumStakeThreshold → ShowS # | |||||
| Eq PerasQuorumStakeThreshold Source # | |||||
Defined in Ouroboros.Consensus.Peras.Params | |||||
| Ord PerasQuorumStakeThreshold Source # | |||||
Defined in Ouroboros.Consensus.Peras.Params Methods compare ∷ PerasQuorumStakeThreshold → PerasQuorumStakeThreshold → Ordering # (<) ∷ PerasQuorumStakeThreshold → PerasQuorumStakeThreshold → Bool # (<=) ∷ PerasQuorumStakeThreshold → PerasQuorumStakeThreshold → Bool # (>) ∷ PerasQuorumStakeThreshold → PerasQuorumStakeThreshold → Bool # (>=) ∷ PerasQuorumStakeThreshold → PerasQuorumStakeThreshold → Bool # max ∷ PerasQuorumStakeThreshold → PerasQuorumStakeThreshold → PerasQuorumStakeThreshold # min ∷ PerasQuorumStakeThreshold → PerasQuorumStakeThreshold → PerasQuorumStakeThreshold # | |||||
| NoThunks PerasQuorumStakeThreshold Source # | |||||
Defined in Ouroboros.Consensus.Peras.Params | |||||
| Condense PerasQuorumStakeThreshold Source # | |||||
Defined in Ouroboros.Consensus.Peras.Params Methods | |||||
| type Rep PerasQuorumStakeThreshold Source # | |||||
Defined in Ouroboros.Consensus.Peras.Params type Rep PerasQuorumStakeThreshold = D1 ('MetaData "PerasQuorumStakeThreshold" "Ouroboros.Consensus.Peras.Params" "ouroboros-consensus-1.0.0.0-inplace" 'True) (C1 ('MetaCons "PerasQuorumStakeThreshold" 'PrefixI 'True) (S1 ('MetaSel ('Just "unPerasQuorumStakeThreshold") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Rational))) | |||||
newtype PerasQuorumStakeThresholdSafetyMargin Source #
Safety margin needed on top of the quorum stake threshold.
NOTE: this is needed to account for an extremely unlikely local sortition where not enough honest non-persistent parties decide to vote in a round. This mostly depend on the expected size of the voting committee.
Constructors
| PerasQuorumStakeThresholdSafetyMargin | |
Instances
| Generic PerasQuorumStakeThresholdSafetyMargin Source # | |||||
Defined in Ouroboros.Consensus.Peras.Params Associated Types
| |||||
| Show PerasQuorumStakeThresholdSafetyMargin Source # | |||||
| Eq PerasQuorumStakeThresholdSafetyMargin Source # | |||||
| Ord PerasQuorumStakeThresholdSafetyMargin Source # | |||||
Defined in Ouroboros.Consensus.Peras.Params Methods compare ∷ PerasQuorumStakeThresholdSafetyMargin → PerasQuorumStakeThresholdSafetyMargin → Ordering # (<) ∷ PerasQuorumStakeThresholdSafetyMargin → PerasQuorumStakeThresholdSafetyMargin → Bool # (<=) ∷ PerasQuorumStakeThresholdSafetyMargin → PerasQuorumStakeThresholdSafetyMargin → Bool # (>) ∷ PerasQuorumStakeThresholdSafetyMargin → PerasQuorumStakeThresholdSafetyMargin → Bool # (>=) ∷ PerasQuorumStakeThresholdSafetyMargin → PerasQuorumStakeThresholdSafetyMargin → Bool # max ∷ PerasQuorumStakeThresholdSafetyMargin → PerasQuorumStakeThresholdSafetyMargin → PerasQuorumStakeThresholdSafetyMargin # min ∷ PerasQuorumStakeThresholdSafetyMargin → PerasQuorumStakeThresholdSafetyMargin → PerasQuorumStakeThresholdSafetyMargin # | |||||
| NoThunks PerasQuorumStakeThresholdSafetyMargin Source # | |||||
Defined in Ouroboros.Consensus.Peras.Params | |||||
| Condense PerasQuorumStakeThresholdSafetyMargin Source # | |||||
Defined in Ouroboros.Consensus.Peras.Params Methods condense ∷ PerasQuorumStakeThresholdSafetyMargin → String Source # | |||||
| type Rep PerasQuorumStakeThresholdSafetyMargin Source # | |||||
Defined in Ouroboros.Consensus.Peras.Params type Rep PerasQuorumStakeThresholdSafetyMargin = D1 ('MetaData "PerasQuorumStakeThresholdSafetyMargin" "Ouroboros.Consensus.Peras.Params" "ouroboros-consensus-1.0.0.0-inplace" 'True) (C1 ('MetaCons "PerasQuorumStakeThresholdSafetyMargin" 'PrefixI 'True) (S1 ('MetaSel ('Just "unPerasQuorumStakeThresholdSafetyMargin") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Rational))) | |||||
Protocol parameters bundle
data PerasParams Source #
Peras protocol parameters.
These are documented in the section 2.1 of the Peras design report: https://tweag.github.io/cardano-peras/peras-design.pdf#section.2.1
TODO: make fields strict when we have concrete default values for them.
Constructors
| PerasParams | |
Fields
| |
Instances
| Generic PerasParams Source # | |||||
Defined in Ouroboros.Consensus.Peras.Params Associated Types
| |||||
| Show PerasParams Source # | |||||
Defined in Ouroboros.Consensus.Peras.Params Methods showsPrec ∷ Int → PerasParams → ShowS # show ∷ PerasParams → String # showList ∷ [PerasParams] → ShowS # | |||||
| Eq PerasParams Source # | |||||
Defined in Ouroboros.Consensus.Peras.Params | |||||
| NoThunks PerasParams Source # | |||||
Defined in Ouroboros.Consensus.Peras.Params | |||||
| type Rep PerasParams Source # | |||||
Defined in Ouroboros.Consensus.Peras.Params type Rep PerasParams = D1 ('MetaData "PerasParams" "Ouroboros.Consensus.Peras.Params" "ouroboros-consensus-1.0.0.0-inplace" 'False) (C1 ('MetaCons "PerasParams" 'PrefixI 'True) (((S1 ('MetaSel ('Just "perasIgnoranceRounds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PerasIgnoranceRounds) :*: S1 ('MetaSel ('Just "perasCooldownRounds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PerasCooldownRounds)) :*: (S1 ('MetaSel ('Just "perasBlockMinSlots") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PerasBlockMinSlots) :*: S1 ('MetaSel ('Just "perasCertArrivalThreshold") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PerasCertArrivalThreshold))) :*: ((S1 ('MetaSel ('Just "perasRoundLength") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 PerasRoundLength) :*: S1 ('MetaSel ('Just "perasWeight") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 PerasWeight)) :*: (S1 ('MetaSel ('Just "perasQuorumStakeThreshold") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 PerasQuorumStakeThreshold) :*: S1 ('MetaSel ('Just "perasQuorumStakeThresholdSafetyMargin") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 PerasQuorumStakeThresholdSafetyMargin))))) | |||||
mkPerasParams ∷ PerasParams Source #
Instantiate default Peras protocol parameters.
NOTE: in the future this will depend on a concrete BlockConfig.