| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Ouroboros.Consensus.HardFork.Combinator.Abstract.NoHardForks
Documentation
class SingleEraBlock blk => NoHardForks blk where Source #
Methods
getEraParams :: TopLevelConfig blk -> EraParams Source #
Extract EraParams from the top-level config
The HFC itself does not care about this, as it must be given the full shape across all eras.
toPartialConsensusConfig :: proxy blk -> ConsensusConfig (BlockProtocol blk) -> PartialConsensusConfig (BlockProtocol blk) Source #
Construct partial consensus config from full consensus config
NOTE: This is basically just losing EpochInfo, but that is constant
anyway when we are dealing with a single era.
toPartialLedgerConfig :: proxy blk -> LedgerConfig blk -> PartialLedgerConfig blk Source #
Construct partial ledger config from full ledger config
See also toPartialConsensusConfig
noHardForksEpochInfo :: NoHardForks blk => TopLevelConfig blk -> EpochInfo Identity Source #