| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Ouroboros.Consensus.Shelley.Node.Praos
Contents
Synopsis
- praosBlockForging ∷ ∀ (m ∷ Type → Type) era c. (ShelleyCompatible (Praos c) era, TxLimits (ShelleyBlock (Praos c) era), IOLike m) ⇒ PraosParams → HotKey c m → ShelleyLeaderCredentials c → BlockForging m (ShelleyBlock (Praos c) era)
- praosSharedBlockForging ∷ ∀ (m ∷ Type → Type) c era. (ShelleyEraWithCrypto c (Praos c) era, IOLike m) ⇒ HotKey c m → (SlotNo → KESPeriod) → ShelleyLeaderCredentials c → BlockForging m (ShelleyBlock (Praos c) era)
BlockForging
praosBlockForging ∷ ∀ (m ∷ Type → Type) era c. (ShelleyCompatible (Praos c) era, TxLimits (ShelleyBlock (Praos c) era), IOLike m) ⇒ PraosParams → HotKey c m → ShelleyLeaderCredentials c → BlockForging m (ShelleyBlock (Praos c) era) Source #
Create a BlockForging record for a single era.
praosSharedBlockForging ∷ ∀ (m ∷ Type → Type) c era. (ShelleyEraWithCrypto c (Praos c) era, IOLike m) ⇒ HotKey c m → (SlotNo → KESPeriod) → 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.