ouroboros-consensus-0.18.0.0: Consensus layer for the Ouroboros blockchain protocol
Safe HaskellSafe-Inferred
LanguageHaskell2010

Ouroboros.Consensus.MiniProtocol.ChainSync.Client.InFutureCheck

Synopsis

Interface

data HeaderInFutureCheck m blk arrival judgment Source #

The interface a ChainSync client needs in order to check the arrival time of headers.

Instead of alphabetical, the fields are in the order in which the ChainSync client logic will invoke them for each header.

Constructors

HeaderInFutureCheck 

Fields

data SomeHeaderInFutureCheck m blk Source #

Constructors

∀ arrival judgment. SomeHeaderInFutureCheck (HeaderInFutureCheck m blk arrival judgment) 

Real Implementation