Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Orphan instances
CanHardFork xs ⇒ BlockSupportsDiffusionPipelining (HardForkBlock xs) Source # | The
This behavior guarantees the "Consistent validity under subsequences" requirement if it is satisfied for every era. Note that at an era boundary, the tip of the selection might switch multiple times between two adjacent eras. Compared to the scenario where the pipelining criteria in both eras are compatible and make sense even across eras, this might lead to unnecessarily strict/relaxed diffusion pipelining. However, the tip switching between different eras is rare and rather short, so there is no direct need to address this, so we rather avoid the extra complexity for now. Still, a possible future refinement would be to allow custom logic for
"upgrading" the |
type TentativeHeaderState (HardForkBlock xs) Source # type TentativeHeaderView (HardForkBlock xs) Source # initialTentativeHeaderState ∷ Proxy (HardForkBlock xs) → TentativeHeaderState (HardForkBlock xs) Source # tentativeHeaderView ∷ BlockConfig (HardForkBlock xs) → Header (HardForkBlock xs) → TentativeHeaderView (HardForkBlock xs) Source # applyTentativeHeaderView ∷ Proxy (HardForkBlock xs) → TentativeHeaderView (HardForkBlock xs) → TentativeHeaderState (HardForkBlock xs) → Maybe (TentativeHeaderState (HardForkBlock xs)) Source # |