Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- data ChainChecksPParams = ChainChecksPParams {}
- data ChainPredicateFailure
- pparamsToChainChecksPParams ∷ EraPParams era ⇒ PParams era → ChainChecksPParams
- chainChecks ∷ MonadError ChainPredicateFailure m ⇒ Version → ChainChecksPParams → BHeaderView c → m ()
Documentation
Chain Checks
data ChainChecksPParams Source #
Instances
Generic ChainChecksPParams Source # | |
Defined in Cardano.Ledger.Chain | |
Show ChainChecksPParams Source # | |
Defined in Cardano.Ledger.Chain | |
Eq ChainChecksPParams Source # | |
Defined in Cardano.Ledger.Chain | |
NoThunks ChainChecksPParams Source # | |
Defined in Cardano.Ledger.Chain | |
type Rep ChainChecksPParams Source # | |
Defined in Cardano.Ledger.Chain type Rep ChainChecksPParams = D1 ('MetaData "ChainChecksPParams" "Cardano.Ledger.Chain" "cardano-ledger-shelley-1.15.0.0-inplace" 'False) (C1 ('MetaCons "ChainChecksPParams" 'PrefixI 'True) (S1 ('MetaSel ('Just "ccMaxBHSize") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word16) :*: (S1 ('MetaSel ('Just "ccMaxBBSize") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word32) :*: S1 ('MetaSel ('Just "ccProtocolVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ProtVer)))) |
data ChainPredicateFailure Source #
HeaderSizeTooLargeCHAIN !Int !Word16 | |
BlockSizeTooLargeCHAIN !Word32 !Word32 | |
ObsoleteNodeCHAIN !Version !Version |
Instances
pparamsToChainChecksPParams ∷ EraPParams era ⇒ PParams era → ChainChecksPParams Source #
chainChecks ∷ MonadError ChainPredicateFailure m ⇒ Version → ChainChecksPParams → BHeaderView c → m () Source #