| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Test.Consensus.Byron.Examples
Synopsis
- topLevelConfig ∷ TopLevelConfig ByronBlock
- blockConfig ∷ 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
topLevelConfig ∷ TopLevelConfig ByronBlock Source #
blockConfig ∷ BlockConfig ByronBlock Source #
codecConfig ∷ CodecConfig ByronBlock Source #
leaderCredentials ∷ ByronLeaderCredentials Source #
ledgerConfig ∷ LedgerConfig ByronBlock Source #
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.
Examples
exampleChainDepState ∷ ChainDepState (BlockProtocol ByronBlock) Source #
exampleExtLedgerState ∷ ExtLedgerState ByronBlock ValuesMK Source #
exampleGenTx ∷ GenTx ByronBlock Source #
exampleGenTxId ∷ TxId (GenTx ByronBlock) Source #
exampleHeaderHash ∷ ByronHash Source #
exampleHeaderState ∷ HeaderState ByronBlock Source #
exampleLedgerState ∷ LedgerState ByronBlock ValuesMK Source #