ouroboros-consensus-0.1.0.1: Consensus layer for the Ouroboros blockchain protocol
Safe Haskell None
Language Haskell2010

Ouroboros.Consensus.Config.SecurityParam

Synopsis

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 .

Instances

Instances details
Eq SecurityParam Source #
Instance details

Defined in Ouroboros.Consensus.Config.SecurityParam

Show SecurityParam Source #
Instance details

Defined in Ouroboros.Consensus.Config.SecurityParam

Generic SecurityParam Source #
Instance details

Defined in Ouroboros.Consensus.Config.SecurityParam

NoThunks SecurityParam Source #
Instance details

Defined in Ouroboros.Consensus.Config.SecurityParam

type Rep SecurityParam Source #
Instance details

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 )))