Moduleouroboros-consensus-4.2.1.0
Ouroboros.Consensus.HardFork.Combinator.Abstract.CanHardFork
- 1 class
- 1 value
- Packageouroboros-consensus-4.2.1.0
- Exports3
- LicenceApache-2.0
class
class (All SingleEraBlock xs, All (EqualHashSizeOfHead xs) xs, KnownNat (HashSizeOfHead xs), Typeable xs, IsNonEmpty xs, Measure (HardForkTxMeasurePhase1 xs), HasByteSize (HardForkTxMeasurePhase1 xs), NoThunks (HardForkTxMeasurePhase1 xs), Show (HardForkTxMeasurePhase1 xs), TxMeasurePhase1Metrics (HardForkTxMeasurePhase1 xs), Measure (HardForkTxMeasurePhase2 xs), NoThunks (HardForkTxMeasurePhase2 xs), Show (HardForkTxMeasurePhase2 xs), TxMeasurePhase2Metrics (HardForkTxMeasurePhase2 xs)) => CanHardFork (xs :: [Type]) whereAssociated types
type family HardForkTxMeasurePhase1 (xs :: [Type])type family HardForkTxMeasurePhase2 (xs :: [Type])
Methods
hardForkEraTranslation :: EraTranslation xshardForkChainSel :: Tails AcrossEraTiebreaker xshardForkInjectTxs :: InPairs (RequiringBoth WrapLedgerConfig (Product2 InjectTx InjectValidatedTx)) xshardForkInjTxMeasurePhase1 :: NS WrapTxMeasurePhase1 xs -> HardForkTxMeasurePhase1 xshardForkInjTxMeasurePhase2 :: NS WrapTxMeasurePhase2 xs -> HardForkTxMeasurePhase2 xshardForkEqGenTxId :: NS WrapGenTxId xs -> NS WrapGenTxId xs -> BoolhardForkCompareGenTxId :: NS WrapGenTxId xs -> NS WrapGenTxId xs -> Ordering
Instances1CanHardFork
SingleEraBlock blk => CanHardFork '[blk]Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.HardFork.Combinator.Abstract.CanHardFork
Equations
HashSizeOfHead (x ': _1) = HashSize x