| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Test.Consensus.Byron.Examples
Synopsis
- cfg ∷ BlockConfig ByronBlock
- codecConfig ∷ CodecConfig ByronBlock
- leaderCredentials ∷ ByronLeaderCredentials
- ledgerConfig ∷ LedgerConfig ByronBlock
- secParam ∷ SecurityParam
- windowSize ∷ WindowSize
- exampleApplyTxErr ∷ ApplyMempoolPayloadErr
- exampleChainDepState ∷ ChainDepState (BlockProtocol ByronBlock)
- exampleExtLedgerState ∷ ExtLedgerState ByronBlock ValuesMK
- exampleGenTx ∷ GenTx ByronBlock
- exampleGenTxId ∷ TxId (GenTx ByronBlock)
- exampleHeaderHash ∷ ByronHash
- exampleHeaderState ∷ HeaderState ByronBlock
- exampleLedgerState ∷ LedgerState ByronBlock ValuesMK
- examples ∷ Examples ByronBlock
Setup
secParam ∷ SecurityParam Source #
Note that we must use the same value for the SecurityParam as for the
WindowSize, because decodeByronChainDepState only takes the
SecurityParam and uses it as the basis for the WindowSize.