Safe Haskell | None |
---|---|
Language | Haskell2010 |
Ouroboros.Consensus.Shelley.Protocol.Util
Description
Assorted utility functions for Shelley protocol integration.
In particular, various things we need for integration with the delegation
package from cardano-ledger-specs.
Synopsis
- isNewEpoch :: EpochInfo Identity -> WithOrigin SlotNo -> SlotNo -> Bool
- firstSlotOfEpochOfSlot :: EpochInfo Identity -> SlotNo -> SlotNo