Safe Haskell | None |
---|---|
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
Eq SecurityParam Source # | |
Defined in Ouroboros.Consensus.Config.SecurityParam Methods (==) :: SecurityParam -> SecurityParam -> Bool Source # (/=) :: SecurityParam -> SecurityParam -> Bool Source # |
|
Show SecurityParam Source # | |
Defined in Ouroboros.Consensus.Config.SecurityParam |
|
Generic SecurityParam Source # | |
Defined in Ouroboros.Consensus.Config.SecurityParam Methods from :: SecurityParam -> Rep SecurityParam x Source # to :: Rep SecurityParam x -> SecurityParam Source # |
|
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.1.0.1-DT4Cvwf63DZKctsEvaJqCU" '
True
) (
C1
('
MetaCons
"SecurityParam" '
PrefixI
'
True
) (
S1
('
MetaSel
('
Just
"maxRollbacks") '
NoSourceUnpackedness
'
NoSourceStrictness
'
DecidedLazy
) (
Rec0
Word64
)))
|