ouroboros-consensus-byron-0.1.0.0: Byron ledger integration in the Ouroboros consensus layer
Safe HaskellNone
LanguageHaskell2010

Ouroboros.Consensus.Byron.Protocol

Synopsis

Documentation

data PBftByronCrypto Source #

Instances

Instances details
PBftCrypto PBftByronCrypto Source # 
Instance details

Defined in Ouroboros.Consensus.Byron.Protocol

EncodeDisk ByronBlock (PBftState PBftByronCrypto) Source #
ChainDepState (BlockProtocol ByronBlock)
Instance details

Defined in Ouroboros.Consensus.Byron.Node.Serialisation

DecodeDisk ByronBlock (PBftState PBftByronCrypto) Source #
ChainDepState (BlockProtocol ByronBlock)
Instance details

Defined in Ouroboros.Consensus.Byron.Node.Serialisation

type PBftVerKeyHash PBftByronCrypto Source # 
Instance details

Defined in Ouroboros.Consensus.Byron.Protocol

type PBftDelegationCert PBftByronCrypto Source # 
Instance details

Defined in Ouroboros.Consensus.Byron.Protocol

type PBftDSIGN PBftByronCrypto Source # 
Instance details

Defined in Ouroboros.Consensus.Byron.Protocol

genesisKeyCoreNodeId Source #

Arguments

∷ Config 
VerKeyDSIGN ByronDSIGN

The genesis verification key

Maybe CoreNodeId 

Determine the CoreNodeId for a code node, based on the genesis key it will sign blocks on behalf of.

In PBFT, the CoreNodeId index is determined by the 0-based position in the sort order of the genesis key hashes.

nodeIdToGenesisKey ∷ Config → CoreNodeIdMaybe KeyHash Source #