ouroboros-consensus-0.1.0.1: Consensus layer for the Ouroboros blockchain protocol
Safe Haskell None
Language Haskell2010

Ouroboros.Consensus.HardFork.Combinator.State.Infra

Synopsis

Initialization

Lifting Telescope operations

Situated

data Situated h f xs where Source #

A h situated in time

Constructors

SituatedCurrent :: Current f x -> h x -> Situated h f (x ': xs)
SituatedNext :: Current f x -> h y -> Situated h f (x ': (y ': xs))
SituatedFuture :: Current f x -> NS h xs -> Situated h f (x ': (y ': xs))
SituatedPast :: K Past x -> h x -> Situated h f (x ': xs)
SituatedShift :: Situated h f xs -> Situated h f (x ': xs)

Aligning

align Source #

Arguments

:: forall xs f f' f''. All SingleEraBlock xs
=> InPairs ( Translate f) xs
-> NP (f' -.-> (f -.-> f'')) xs
-> HardForkState f' xs

State we are aligning with

-> HardForkState f xs

State we are aligning

-> HardForkState f'' xs

EpochInfo/Summary