Safe Haskell | None |
---|---|
Language | Haskell2010 |
Ouroboros.Consensus.HardFork.Combinator.Info
Contents
Synopsis
-
newtype
LedgerEraInfo
blk =
LedgerEraInfo
{
- getLedgerEraInfo :: SingleEraInfo blk
-
data
SingleEraInfo
blk =
SingleEraInfo
{
- singleEraName :: ! Text
Era info
newtype LedgerEraInfo blk Source #
Additional newtype wrapper around
SingleEraInfo
This is primarily useful for use in error messages: it marks which era info came from the ledger, and which came from a tx block header/etc.
Constructors
LedgerEraInfo | |
Fields
|
Instances
Eq ( LedgerEraInfo blk) Source # | |
Defined in Ouroboros.Consensus.HardFork.Combinator.Info Methods (==) :: LedgerEraInfo blk -> LedgerEraInfo blk -> Bool Source # (/=) :: LedgerEraInfo blk -> LedgerEraInfo blk -> Bool Source # |
|
Show ( LedgerEraInfo blk) Source # | |
Defined in Ouroboros.Consensus.HardFork.Combinator.Info |
|
NoThunks ( LedgerEraInfo blk) Source # | |
Defined in Ouroboros.Consensus.HardFork.Combinator.Info |
|
Serialise ( LedgerEraInfo blk) Source # | |
Defined in Ouroboros.Consensus.HardFork.Combinator.Info Methods encode :: LedgerEraInfo blk -> Encoding Source # decode :: Decoder s ( LedgerEraInfo blk) Source # encodeList :: [ LedgerEraInfo blk] -> Encoding Source # decodeList :: Decoder s [ LedgerEraInfo blk] Source # |
data SingleEraInfo blk Source #
Information about an era (mostly for type errors)
Constructors
SingleEraInfo | |
Fields
|