Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
The genesis/core nodes for Shelley Ledger Examples.
Synopsis
- numCoreNodes ∷ Word64
- coreNodeSK ∷ Int → SignKeyDSIGN DSIGN
- coreNodeVK ∷ Int → VKey 'Genesis
- coreNodeIssuerKeys ∷ Int → AllIssuerKeys MockCrypto 'GenesisDelegate
- coreNodeKeysBySchedule ∷ ∀ era. (HasCallStack, EraPParams era) ⇒ PParams era → Word64 → AllIssuerKeys MockCrypto 'GenesisDelegate
- genDelegs ∷ Map (KeyHash 'Genesis) GenDelegPair
Documentation
numCoreNodes ∷ Word64 Source #
Number of Core Node
coreNodeVK ∷ Int → VKey 'Genesis Source #
Verification (Public) Keys
Retrieve the verification key for a core node by providing
a number in the range [0, ... (
.numCoreNodes
-1)]
coreNodeIssuerKeys ∷ Int → AllIssuerKeys MockCrypto 'GenesisDelegate Source #
Block Issuer Keys
Retrieve the block issuer keys (cold, VRF, and hot KES keys)
for a core node by providing
a number in the range [0, ... (
.numCoreNodes
-1)]
coreNodeKeysBySchedule ∷ ∀ era. (HasCallStack, EraPParams era) ⇒ PParams era → Word64 → AllIssuerKeys MockCrypto 'GenesisDelegate Source #
Keys by Overlay Schedule
Retrieve all the keys associated with a core node for a given slot and protocol parameters. It will return an error if there is not a core node scheduled for the given slot.