Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- data CHAIN
- data ChainPredicateFailure
- = EpochFailure (PredicateFailure EPOCH)
- | HeaderSizeTooBig BlockHeader Natural (Threshold Natural)
- | BBodyFailure (PredicateFailure BBODY)
- | PBFTFailure (PredicateFailure PBFT)
- | MaximumBlockSize Natural Natural
- | LedgerDelegationFailure (PredicateFailure DELEG)
- | LedgerUTxOFailure (PredicateFailure UTXOWS)
- isHeaderSizeTooBigFailure ∷ PredicateFailure CHAIN → Bool
- headerIsValid ∷ UPIState → BlockHeader → Rule CHAIN 'Transition ()
- disL ∷ Lens' (State CHAIN) DIState
- data ShouldGenDelegation
- data ShouldGenUTxO
- data ShouldGenUpdate
- sigGenChain ∷ ShouldGenDelegation → ShouldGenUTxO → ShouldGenUpdate → Environment CHAIN → State CHAIN → Gen (Signal CHAIN)
- coverInvalidBlockProofs ∷ ∀ m a. (MonadTest m, HasCallStack, Data a) ⇒ CoverPercentage → a → m ()
Documentation
Instances
data ChainPredicateFailure Source #
Instances
headerIsValid ∷ UPIState → BlockHeader → Rule CHAIN 'Transition () Source #
disL ∷ Lens' (State CHAIN) DIState Source #
Lens for the delegation interface state contained in the chain state.
sigGenChain ∷ ShouldGenDelegation → ShouldGenUTxO → ShouldGenUpdate → Environment CHAIN → State CHAIN → Gen (Signal CHAIN) Source #
coverInvalidBlockProofs Source #
∷ ∀ m a. (MonadTest m, HasCallStack, Data a) | |
⇒ CoverPercentage | Minimum percentage that each failure must occur. |
→ a | Structure containing the failures |
→ m () |