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

Ouroboros.Consensus.Block.SupportsMetrics

Description

Synopsis

Documentation

class BlockSupportsMetrics blk where Source #

Evidence that a block supports the metrics needed for business requirements

For example, we use isSelfIssued to help Stake Pool Operators monitor how many of their forged blocks have not ended up on their chain.

isSelfIssuedConstUnknown :: BlockConfig blk -> Header blk -> WhetherSelfIssued Source #

Use this default for block types that cannot or do not yet support the predicate