Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Ouroboros.Consensus.Config.SecurityParam
Synopsis
- newtype SecurityParam = SecurityParam {}
Documentation
newtype SecurityParam Source #
Protocol security parameter
We interpret this as the number of rollbacks we support.
i.e., k == 0: we can't roll back at all k == 1: we can roll back at most one block, etc
NOTE: This talks about the number of blocks we can roll back, not the number of slots.
Constructors
SecurityParam | |
Fields |
Instances
Generic SecurityParam Source # | |
Defined in Ouroboros.Consensus.Config.SecurityParam Associated Types type Rep SecurityParam ∷ Type → Type # | |
Show SecurityParam Source # | |
Defined in Ouroboros.Consensus.Config.SecurityParam Methods showsPrec ∷ Int → SecurityParam → ShowS # show ∷ SecurityParam → String # showList ∷ [SecurityParam] → ShowS # | |
Eq SecurityParam Source # | |
Defined in Ouroboros.Consensus.Config.SecurityParam | |
NoThunks SecurityParam Source # | |
Defined in Ouroboros.Consensus.Config.SecurityParam | |
type Rep SecurityParam Source # | |
Defined in Ouroboros.Consensus.Config.SecurityParam type Rep SecurityParam = D1 ('MetaData "SecurityParam" "Ouroboros.Consensus.Config.SecurityParam" "ouroboros-consensus-0.22.0.0-inplace" 'True) (C1 ('MetaCons "SecurityParam" 'PrefixI 'True) (S1 ('MetaSel ('Just "maxRollbacks") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word64))) |