ouroboros-consensus-cardano-0.16.0.0: The instantation of the Ouroboros consensus layer used by Cardano
Safe HaskellSafe-Inferred
LanguageHaskell2010

Cardano.Api.Protocol.Types

Synopsis

Documentation

data BlockType blk where Source #

Instances

Instances details
Show (BlockType blk) Source # 
Instance details

Defined in Cardano.Api.Protocol.Types

Methods

showsPrecIntBlockType blk → ShowS #

showBlockType blk → String #

showList ∷ [BlockType blk] → ShowS #

Eq (BlockType blk) Source # 
Instance details

Defined in Cardano.Api.Protocol.Types

Methods

(==)BlockType blk → BlockType blk → Bool #

(/=)BlockType blk → BlockType blk → Bool #

class (RunNode blk, IOLike m) ⇒ Protocol m blk where Source #

Associated Types

data ProtocolInfoArgs m blk Source #

Methods

protocolInfoProtocolInfoArgs m blk → (ProtocolInfo blk, m [BlockForging m blk]) Source #

class RunNode blk ⇒ ProtocolClient blk where Source #

Node client support for each consensus protocol.

This is like Protocol but for clients of the node, so with less onerous requirements than to run a node.

Associated Types

data ProtocolClientInfoArgs blk Source #