| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Bcc.Api.Sophie.Genesis
Synopsis
- data SophieGenesis era = SophieGenesis {
- sgSystemStart ∷ !UTCTime
- sgNetworkMagic ∷ !Word32
- sgNetworkId ∷ !Network
- sgActiveSlotsCoeff ∷ !PositiveUnitInterval
- sgSecurityParam ∷ !Word64
- sgVestMultiple ∷ !Word64
- sgEpochLength ∷ !EpochSize
- sgSlotsPerKESPeriod ∷ !Word64
- sgMaxKESEvolutions ∷ !Word64
- sgSlotLength ∷ !NominalDiffTime
- sgUpdateQuorum ∷ !Word64
- sgMaxEntropicSupply ∷ !Word64
- sgProtocolParams ∷ !(PParams era)
- sgGenDelegs ∷ !(Map (KeyHash 'Genesis (Crypto era)) (GenDelegPair (Crypto era)))
- sgVestedDelegs ∷ !(Map (KeyHash 'Vested (Crypto era)) (VestedDelegPair (Crypto era)))
- sgInitialFunds ∷ !(Map (Addr (Crypto era)) Coin)
- sgStaking ∷ !(SophieGenesisStaking (Crypto era))
- sophieGenesisDefaults ∷ SophieGenesis crypto
Documentation
data SophieGenesis era #
Constructors
| SophieGenesis | |
Fields
| |
Instances
sophieGenesisDefaults ∷ SophieGenesis crypto Source #
Some reasonable starting defaults for constructing a SophieGenesis.
You must override at least the following fields for this to be useful:
sgSystemStartthe time of the first blocksgNetworkMagicto a suitable testnet or mainnet network magic number.sgGenDelegsto have some initial nodessgInitialFundsto have any money in the systemsgMaxEntropicSupplymust be at least the sum of thesgInitialFundsbut more if you want to allow for rewards.