cardano-ledger-shelley-1.11.0.0: Shelley Ledger Executable Model
Safe HaskellSafe-Inferred
LanguageHaskell2010

Cardano.Ledger.Shelley.API.Genesis

Synopsis

Documentation

class (EraTxOut era, Default (StashedAVVMAddresses era), EraGov era) ⇒ CanStartFromGenesis era where Source #

Deprecated: Use EraTransition instead

Indicates that this era may be bootstrapped from ShelleyGenesis.

Minimal complete definition

fromShelleyPParams

Associated Types

type AdditionalGenesisConfig era ∷ Type Source #

Additional genesis configuration necessary for this era.

Methods

fromShelleyPParamsAdditionalGenesisConfig era → PParams (ShelleyEra (EraCrypto era)) → PParams era Source #

Deprecated: Use tcInitialPParamsG instead

Upgrade PParams from ShelleyEra all the way to the current one.

initialStateShelleyGenesis (EraCrypto era) → AdditionalGenesisConfig era → NewEpochState era Source #

Deprecated: Use createInitialState instead

Construct an initial state given a ShelleyGenesis and any appropriate AdditionalGenesisConfig for the era.

initialStateFromGenesis Source #

Arguments

∷ ∀ era. CanStartFromGenesis era 
ShelleyGenesis (EraCrypto era)

Genesis type

AdditionalGenesisConfig era 
NewEpochState era 

Helper function for constructing the initial state for any era