Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data ChainChecksPParams = ChainChecksPParams { }
-
data
ChainPredicateFailure
- = HeaderSizeTooLargeCHAIN ! Natural ! Natural
- | BlockSizeTooLargeCHAIN ! Natural ! Natural
- | ObsoleteNodeCHAIN ! Natural ! Natural
- pparamsToChainChecksPParams :: ( HasField "_maxBHSize" pp Natural , HasField "_maxBBSize" pp Natural , HasField "_protocolVersion" pp ProtVer ) => pp -> ChainChecksPParams
- chainChecks :: MonadError ChainPredicateFailure m => Natural -> ChainChecksPParams -> BHeaderView crypto -> m ()
Documentation
Chain Checks
data ChainChecksPParams Source #
Instances
data ChainPredicateFailure Source #
HeaderSizeTooLargeCHAIN ! Natural ! Natural | |
BlockSizeTooLargeCHAIN ! Natural ! Natural | |
ObsoleteNodeCHAIN ! Natural ! Natural |
Instances
pparamsToChainChecksPParams :: ( HasField "_maxBHSize" pp Natural , HasField "_maxBBSize" pp Natural , HasField "_protocolVersion" pp ProtVer ) => pp -> ChainChecksPParams Source #
chainChecks :: MonadError ChainPredicateFailure m => Natural -> ChainChecksPParams -> BHeaderView crypto -> m () Source #