ouroboros-consensus-cardano-0.20.0.0: The instantation of the Ouroboros consensus layer used by Cardano
Safe HaskellSafe-Inferred
LanguageHaskell2010

Ouroboros.Consensus.Byron.Ledger.Forge

Synopsis

Documentation

forgeByronBlock Source #

Arguments

HasCallStack 
TopLevelConfig ByronBlock 
BlockNo

Current block number

SlotNo

Current slot number

TickedLedgerState ByronBlock

Current ledger

→ [Validated (GenTx ByronBlock)]

Txs to include

PBftIsLeader PBftByronCrypto

Leader proof (IsLeader)

ByronBlock 

forgeRegularBlock Source #

Arguments

HasCallStack 
BlockConfig ByronBlock 
BlockNo

Current block number

SlotNo

Current slot number

TickedLedgerState ByronBlock

Current ledger

→ [Validated (GenTx ByronBlock)]

Txs to include

PBftIsLeader PBftByronCrypto

Leader proof (IsLeader)

ByronBlock 

For testing purposes

forgeEBB Source #

Arguments

BlockConfig ByronBlock 
SlotNo

Current slot

BlockNo

Current block number

ChainHash ByronBlock

Previous hash

ByronBlock