Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
Documentation
data PBftByronCrypto Source #
Instances
∷ 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 → CoreNodeId → Maybe KeyHash Source #
Inverse of genesisKeyCoreNodeId