Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
-
data
ProtocolParamsBabbage
c =
ProtocolParamsBabbage
{
- babbageProtVer :: ProtVer
- babbageMaxTxCapacityOverrides :: Overrides ( ShelleyBlock ( Praos c) ( BabbageEra c))
- praosBlockForging :: forall m era c. ( ShelleyCompatible ( Praos c) era, c ~ EraCrypto era, TxLimits ( ShelleyBlock ( Praos c) era), IOLike m) => PraosParams -> Overrides ( ShelleyBlock ( Praos c) era) -> ShelleyLeaderCredentials ( EraCrypto era) -> m ( BlockForging m ( ShelleyBlock ( Praos c) era))
- praosSharedBlockForging :: forall m c era. ( ShelleyEraWithCrypto c ( Praos c) era, IOLike m) => HotKey c m -> ( SlotNo -> KESPeriod ) -> ShelleyLeaderCredentials c -> Overrides ( ShelleyBlock ( Praos c) era) -> BlockForging m ( ShelleyBlock ( Praos c) era)
- protocolInfoPraosBabbage :: forall m c. ( IOLike m, ShelleyCompatible ( Praos c) ( BabbageEra c), TxLimits ( ShelleyBlock ( Praos c) ( BabbageEra c))) => ProtocolParamsShelleyBased ( BabbageEra c) -> ProtocolParamsBabbage c -> ProtocolInfo m ( ShelleyBlock ( Praos c) ( BabbageEra c))
- protocolInfoPraosShelleyBased :: forall m era c. ( IOLike m, ShelleyCompatible ( Praos c) era, TxLimits ( ShelleyBlock ( Praos c) era), c ~ EraCrypto era) => ProtocolParamsShelleyBased era -> TranslationContext era -> ProtVer -> Overrides ( ShelleyBlock ( Praos c) era) -> ProtocolInfo m ( ShelleyBlock ( Praos c) era)
Documentation
data ProtocolParamsBabbage c Source #
Parameters needed to run Babbage
praosBlockForging :: forall m era c. ( ShelleyCompatible ( Praos c) era, c ~ EraCrypto era, TxLimits ( ShelleyBlock ( Praos c) era), IOLike m) => PraosParams -> Overrides ( ShelleyBlock ( Praos c) era) -> ShelleyLeaderCredentials ( EraCrypto era) -> m ( BlockForging m ( ShelleyBlock ( Praos c) era)) Source #
Create a
BlockForging
record for a single era.
praosSharedBlockForging :: forall m c era. ( ShelleyEraWithCrypto c ( Praos c) era, IOLike m) => HotKey c m -> ( SlotNo -> KESPeriod ) -> ShelleyLeaderCredentials c -> Overrides ( ShelleyBlock ( Praos c) era) -> 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
.
protocolInfoPraosBabbage :: forall m c. ( IOLike m, ShelleyCompatible ( Praos c) ( BabbageEra c), TxLimits ( ShelleyBlock ( Praos c) ( BabbageEra c))) => ProtocolParamsShelleyBased ( BabbageEra c) -> ProtocolParamsBabbage c -> ProtocolInfo m ( ShelleyBlock ( Praos c) ( BabbageEra c)) Source #
protocolInfoPraosShelleyBased :: forall m era c. ( IOLike m, ShelleyCompatible ( Praos c) era, TxLimits ( ShelleyBlock ( Praos c) era), c ~ EraCrypto era) => ProtocolParamsShelleyBased era -> TranslationContext era -> ProtVer -> Overrides ( ShelleyBlock ( Praos c) era) -> ProtocolInfo m ( ShelleyBlock ( Praos c) era) Source #