Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data BlockType blk where
- ColeBlockType ∷ BlockType ColeBlockHFC
- SophieBlockType ∷ BlockType (SophieBlockHFC StandardSophie)
- BccBlockType ∷ BlockType (BccBlock StandardCrypto)
- class (RunNode blk, IOLike m) ⇒ Protocol m blk where
- data ProtocolInfoArgs m blk
- protocolInfo ∷ ProtocolInfoArgs m blk → ProtocolInfo m blk
- class RunNode blk ⇒ ProtocolClient blk where
- data ProtocolClientInfoArgs blk
- protocolClientInfo ∷ ProtocolClientInfoArgs blk → ProtocolClientInfo blk
- data SomeNodeClientProtocol where
- SomeNodeClientProtocol ∷ (RunNode blk, ProtocolClient blk) ⇒ ProtocolClientInfoArgs blk → SomeNodeClientProtocol
Documentation
data BlockType blk where Source #
ColeBlockType ∷ BlockType ColeBlockHFC | |
SophieBlockType ∷ BlockType (SophieBlockHFC StandardSophie) | |
BccBlockType ∷ BlockType (BccBlock StandardCrypto) |
class (RunNode blk, IOLike m) ⇒ Protocol m blk where Source #
data ProtocolInfoArgs m blk Source #
protocolInfo ∷ ProtocolInfoArgs m blk → ProtocolInfo m blk Source #
Instances
IOLike m ⇒ Protocol m ColeBlockHFC Source # | Run PBFT against the Cole ledger |
Defined in Bcc.Api.Protocol.Types data ProtocolInfoArgs m ColeBlockHFC Source # protocolInfo ∷ ProtocolInfoArgs m ColeBlockHFC → ProtocolInfo m ColeBlockHFC Source # | |
IOLike m ⇒ Protocol m (SophieBlockHFC StandardSophie) Source # | |
Defined in Bcc.Api.Protocol.Types data ProtocolInfoArgs m (SophieBlockHFC StandardSophie) Source # protocolInfo ∷ ProtocolInfoArgs m (SophieBlockHFC StandardSophie) → ProtocolInfo m (SophieBlockHFC StandardSophie) Source # | |
IOLike m ⇒ Protocol m (BccBlock StandardCrypto) Source # | |
Defined in Bcc.Api.Protocol.Types data ProtocolInfoArgs m (BccBlock StandardCrypto) Source # protocolInfo ∷ ProtocolInfoArgs 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.
data ProtocolClientInfoArgs blk Source #
protocolClientInfo ∷ ProtocolClientInfoArgs blk → ProtocolClientInfo blk Source #
Instances
ProtocolClient ColeBlockHFC Source # | |
Defined in Bcc.Api.Protocol.Types data ProtocolClientInfoArgs ColeBlockHFC Source # protocolClientInfo ∷ ProtocolClientInfoArgs ColeBlockHFC → ProtocolClientInfo ColeBlockHFC Source # | |
ProtocolClient (BccBlock StandardCrypto) Source # | |
Defined in Bcc.Api.Protocol.Types data ProtocolClientInfoArgs (BccBlock StandardCrypto) Source # protocolClientInfo ∷ ProtocolClientInfoArgs (BccBlock StandardCrypto) → ProtocolClientInfo (BccBlock StandardCrypto) Source # | |
ProtocolClient (SophieBlockHFC StandardSophie) Source # | |
Defined in Bcc.Api.Protocol.Types data ProtocolClientInfoArgs (SophieBlockHFC StandardSophie) Source # protocolClientInfo ∷ ProtocolClientInfoArgs (SophieBlockHFC StandardSophie) → ProtocolClientInfo (SophieBlockHFC StandardSophie) Source # |
data SomeNodeClientProtocol where Source #
SomeNodeClientProtocol ∷ (RunNode blk, ProtocolClient blk) ⇒ ProtocolClientInfoArgs blk → SomeNodeClientProtocol |