bcc-api-1.99.0
Safe HaskellNone
LanguageHaskell2010

Bcc.Api.Protocol.Types

Synopsis

Documentation

data BlockType blk where Source #

Constructors

ColeBlockTypeBlockType ColeBlockHFC 
SophieBlockTypeBlockType (SophieBlockHFC StandardSophie) 
BccBlockTypeBlockType (BccBlock StandardCrypto) 

Instances

Instances details
Eq (BlockType blk) Source # 
Instance details

Defined in Bcc.Api.Protocol.Types

Methods

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

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

Show (BlockType blk) Source # 
Instance details

Defined in Bcc.Api.Protocol.Types

Methods

showsPrecIntBlockType blk → ShowS Source #

showBlockType blk → String Source #

showList ∷ [BlockType blk] → ShowS Source #

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 ColeBlockHFC Source #

Run PBFT against the Cole ledger

Instance details

Defined in Bcc.Api.Protocol.Types

Associated Types

data ProtocolInfoArgs m ColeBlockHFC Source #

Methods

protocolInfoProtocolInfoArgs m ColeBlockHFC → ProtocolInfo m ColeBlockHFC Source #

IOLike m ⇒ Protocol m (SophieBlockHFC StandardSophie) Source # 
Instance details

Defined in Bcc.Api.Protocol.Types

Associated Types

data ProtocolInfoArgs m (SophieBlockHFC StandardSophie) Source #

Methods

protocolInfoProtocolInfoArgs m (SophieBlockHFC StandardSophie) → ProtocolInfo m (SophieBlockHFC StandardSophie) Source #

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

Defined in Bcc.Api.Protocol.Types

Associated Types

data ProtocolInfoArgs m (BccBlock StandardCrypto) Source #

Methods

protocolInfoProtocolInfoArgs m (BccBlock StandardCrypto) → ProtocolInfo m (BccBlock 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 ColeBlockHFC Source # 
Instance details

Defined in Bcc.Api.Protocol.Types

Associated Types

data ProtocolClientInfoArgs ColeBlockHFC Source #

Methods

protocolClientInfoProtocolClientInfoArgs ColeBlockHFC → ProtocolClientInfo ColeBlockHFC Source #

ProtocolClient (BccBlock StandardCrypto) Source # 
Instance details

Defined in Bcc.Api.Protocol.Types

Associated Types

data ProtocolClientInfoArgs (BccBlock StandardCrypto) Source #

Methods

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

ProtocolClient (SophieBlockHFC StandardSophie) Source # 
Instance details

Defined in Bcc.Api.Protocol.Types

Associated Types

data ProtocolClientInfoArgs (SophieBlockHFC StandardSophie) Source #

Methods

protocolClientInfoProtocolClientInfoArgs (SophieBlockHFC StandardSophie) → ProtocolClientInfo (SophieBlockHFC StandardSophie) Source #