| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Ouroboros.Consensus.Byron.Ledger.Conversions
Synopsis
- fromByronSlotNo :: SlotNumber -> SlotNo
- fromByronBlockNo :: ChainDifficulty -> BlockNo
- fromByronBlockCount :: BlockCount -> SecurityParam
- fromByronEpochSlots :: EpochSlots -> EpochSize
- fromByronSlotLength :: Natural -> SlotLength
- toByronSlotNo :: SlotNo -> SlotNumber
- toByronBlockCount :: SecurityParam -> BlockCount
- toByronSlotLength :: SlotLength -> Natural
- genesisSecurityParam :: Config -> SecurityParam
- genesisNumCoreNodes :: Config -> NumCoreNodes
- genesisSlotLength :: Config -> Natural