cardano-api-1.28.0
Safe HaskellNone
LanguageHaskell2010

Cardano.Api.Protocol.Types

Synopsis

Documentation

data BlockType blk where Source #

Constructors

ByronBlockTypeBlockType ByronBlockHFC 
ShelleyBlockTypeBlockType (ShelleyBlockHFC StandardShelley) 
CardanoBlockTypeBlockType (CardanoBlock StandardCrypto) 

Instances

Instances details
Eq (BlockType blk) Source # 
Instance details

Defined in Cardano.Api.Protocol.Types

Methods

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

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

Show (BlockType blk) Source # 
Instance details

Defined in Cardano.Api.Protocol.Types

Methods

showsPrecIntBlockType blk → ShowS #

showBlockType blk → String #

showList ∷ [BlockType blk] → ShowS #

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

Associated Types

data ProtocolInfoArgs m blk Source #

Methods

protocolInfoProtocolInfoArgs m blk → ProtocolInfo m blk Source #

Instances

Instances details
IOLike m ⇒ Protocol m ByronBlockHFC Source #

Run PBFT against the Byron ledger

Instance details

Defined in Cardano.Api.Protocol.Types

Associated Types

data ProtocolInfoArgs m ByronBlockHFC Source #

Methods

protocolInfoProtocolInfoArgs m ByronBlockHFC → ProtocolInfo m ByronBlockHFC Source #

IOLike m ⇒ Protocol m (ShelleyBlockHFC StandardShelley) Source # 
Instance details

Defined in Cardano.Api.Protocol.Types

Associated Types

data ProtocolInfoArgs m (ShelleyBlockHFC StandardShelley) Source #

Methods

protocolInfoProtocolInfoArgs m (ShelleyBlockHFC StandardShelley) → ProtocolInfo m (ShelleyBlockHFC StandardShelley) Source #

IOLike m ⇒ Protocol m (CardanoBlock StandardCrypto) Source # 
Instance details

Defined in Cardano.Api.Protocol.Types

Associated Types

data ProtocolInfoArgs m (CardanoBlock StandardCrypto) Source #

Methods

protocolInfoProtocolInfoArgs m (CardanoBlock StandardCrypto) → ProtocolInfo m (CardanoBlock StandardCrypto) 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 #

Methods

protocolClientInfoProtocolClientInfoArgs blk → ProtocolClientInfo blk Source #

Instances

Instances details
ProtocolClient ByronBlockHFC Source # 
Instance details

Defined in Cardano.Api.Protocol.Types

Associated Types

data ProtocolClientInfoArgs ByronBlockHFC Source #

Methods

protocolClientInfoProtocolClientInfoArgs ByronBlockHFC → ProtocolClientInfo ByronBlockHFC Source #

ProtocolClient (CardanoBlock StandardCrypto) Source # 
Instance details

Defined in Cardano.Api.Protocol.Types

Associated Types

data ProtocolClientInfoArgs (CardanoBlock StandardCrypto) Source #

Methods

protocolClientInfoProtocolClientInfoArgs (CardanoBlock StandardCrypto) → ProtocolClientInfo (CardanoBlock StandardCrypto) Source #

ProtocolClient (ShelleyBlockHFC StandardShelley) Source # 
Instance details

Defined in Cardano.Api.Protocol.Types

Associated Types

data ProtocolClientInfoArgs (ShelleyBlockHFC StandardShelley) Source #

Methods

protocolClientInfoProtocolClientInfoArgs (ShelleyBlockHFC StandardShelley) → ProtocolClientInfo (ShelleyBlockHFC StandardShelley) Source #