Moduleouroboros-consensus-4.2.1.0
Ouroboros.Consensus.MiniProtocol.BlockFetch.ClientInterface
Synopsis
- value defaultChainDbView
- value mkBlockFetchConsensusInterface
- value readFetchModeDefault
- data ChainDbView
- Packageouroboros-consensus-4.2.1.0
- Exports4
- LicenceApache-2.0
Constructors
ChainDbViewgetCurrentChain :: STM m (AnchoredFragment (Header blk))getCurrentChainWithTime :: STM m (AnchoredFragment (HeaderWithTime blk))getIsFetched :: STM m (Point blk -> Bool)getMaxSlotNo :: STM m MaxSlotNoaddBlockAsync :: InvalidBlockPunishment m -> blk -> m (AddBlockPromise m blk)getChainSelStarvation :: STM m ChainSelStarvationgetPerasWeightSnapshot :: STM m (WithFingerprint (PerasWeightSnapshot blk))