Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- praosBlockForging ∷ ∀ m era c. (ShelleyCompatible (Praos c) era, c ~ EraCrypto era, TxLimits (ShelleyBlock (Praos c) era), IOLike m) ⇒ PraosParams → ShelleyLeaderCredentials (EraCrypto era) → m (BlockForging m (ShelleyBlock (Praos c) era))
- praosSharedBlockForging ∷ ∀ m 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 era c. (ShelleyCompatible (Praos c) era, c ~ EraCrypto era, TxLimits (ShelleyBlock (Praos c) era), IOLike m) ⇒ PraosParams → ShelleyLeaderCredentials (EraCrypto era) → m (BlockForging m (ShelleyBlock (Praos c) era)) Source #
Create a BlockForging
record for a single era.
praosSharedBlockForging ∷ ∀ m 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
.