ouroboros-consensus-cardano-0.25.0.0: The instantation of the Ouroboros consensus layer used by Cardano
Safe HaskellNone
LanguageHaskell2010

Ouroboros.Consensus.Shelley.Node.Praos

Contents

Synopsis

BlockForging

praosBlockForging ∷ ∀ m era c. (ShelleyCompatible (Praos c) era, TxLimits (ShelleyBlock (Praos c) era), IOLike m) ⇒ PraosParamsShelleyLeaderCredentials c → m (BlockForging m (ShelleyBlock (Praos c) era)) Source #

Create a BlockForging record for a single era.

praosSharedBlockForging ∷ ∀ (m ∷ TypeType) c era. (ShelleyEraWithCrypto c (Praos c) era, IOLike m) ⇒ HotKey c m → (SlotNoKESPeriod) → ShelleyLeaderCredentials c → BlockForging m (ShelleyBlock (Praos c) era) Source #

Create a BlockForging record safely using the given Hotkey.

The name of the era (separated by a _) will be appended to each forgeLabel.