ouroboros-consensus:unstable-mock-block
Safe HaskellNone
LanguageHaskell2010

Ouroboros.Consensus.Mock.Ledger.Forge

Synopsis

Documentation

newtype ForgeExt c ext Source #

Construct the protocol specific part of the block

This is used in forgeSimple, which takes care of the generic part of the mock block.

Note: this is a newtype and not a type class to allow for things in the closure. For example, if Praos had to use a stateful KES key, it could refer to it in its closure.

Constructors

ForgeExt 

Fields