Versions in this module Expand all Collapse all v1 v1.2.2 Apr 7, 2024 Changes in this version + const Day + const Hour + const Minute + const Second + const Week + const Year + var AdminAddr common.Address + var ValidatorsAT []AccoutInfo + func GenerateGenesis(_ *cli.Context, accounts *env.AccountsConfig, cfg *Config, ...) (*chain.Genesis, error) + func UnmarshalMarkerConfig(ctx *cli.Context) + type AccoutInfo struct + Address string + BLSG1PubKey string + BLSProofOfPossession string + BLSPubKey string + ECDSASignature string + PublicKeyHex string + SignerAddress string + func (a *AccoutInfo) BLSG1PublicKey() (blscrypto.SerializedG1PublicKey, error) + func (a *AccoutInfo) BLSProofOfPossession_() ([]byte, error) + func (a *AccoutInfo) BLSPublicKey() (blscrypto.SerializedPublicKey, error) + func (a *AccoutInfo) ECDSASignature_() (v uint8, r common.Hash, s common.Hash) + func (a *AccoutInfo) MustBLSProofOfPossession() []byte + func (a *AccoutInfo) PublicKey() []byte + func (a *AccoutInfo) SignerAddress_() common.Address + type Balance struct + Account common.Address + Amount *big.Int + type BalanceList []Balance + func (bl BalanceList) Accounts() []common.Address + func (bl BalanceList) Amounts() []*big.Int + type BalanceMarshaling struct + Amount *bigintstr.BigIntStr + type BlockchainParameters struct + BlockGasLimit uint64 + GasForNonGoldCurrencies uint64 + Version Version + type Config struct + Blockchain BlockchainParameters + ChainID *big.Int + DoubleSigningSlasher DoubleSigningSlasherParameters + DowntimeSlasher DowntimeSlasherParameters + Election ElectionParameters + EpochRewards EpochRewardsParameters + GenesisTimestamp uint64 + GoldToken GoldTokenParameters + Hardforks HardforkConfig + Istanbul params.IstanbulConfig + LockedGold LockedGoldParameters + Random RandomParameters + Validators ValidatorsParameters + func BaseConfig() *Config + func CreateCommonGenesisConfig() *Config + func (cfg *Config) ChainConfig() *params.ChainConfig + func (cfg *Config) Save(filepath string) error + type DoubleSigningSlasherParameters struct + Penalty *big.Int + Reward *big.Int + type DoubleSigningSlasherParametersMarshaling struct + Penalty *bigintstr.BigIntStr + Reward *bigintstr.BigIntStr + type DowntimeSlasherParameters struct + Penalty *big.Int + Reward *big.Int + SlashableDowntime uint64 + type DowntimeSlasherParametersMarshaling struct + Penalty *bigintstr.BigIntStr + Reward *bigintstr.BigIntStr + type ElectionParameters struct + ElectabilityThreshold *fixed.Fixed + MaxElectableValidators uint64 + MaxVotesPerAccount *big.Int + MinElectableValidators uint64 + type ElectionParametersMarshaling struct + MaxVotesPerAccount *bigintstr.BigIntStr + type EpochRewardsParameters struct + CommunityPartner common.Address + CommunityRewardFraction *fixed.Fixed + EpochMaintainerPaymentFraction *fixed.Fixed + MaxEpochPayment *big.Int + MgrMaintainerAddress common.Address + type EpochRewardsParametersMarshaling struct + MaxValidatorEpochPayment *bigintstr.BigIntStr + type GasPriceMinimumParametersMarshaling struct + MinimumFloor *bigintstr.BigIntStr + type GoldTokenParameters struct + InitialBalances BalanceList + type GovernanceParametersMarshaling struct + MinDeposit *bigintstr.BigIntStr + type HardforkConfig struct + ChurritoBlock *big.Int + DonutBlock *big.Int + type LockedGoldParameters struct + UnlockingPeriod uint64 + type LockedGoldRequirements struct + Duration uint64 + Value *big.Int + type LockedgoldRequirementsMarshaling struct + Value *bigintstr.BigIntStr + type MarkerInfo struct + AdminAddress string + Validators []AccoutInfo + type RandomParameters struct + RandomnessBlockRetentionWindow uint64 + type ValidatorsParameters struct + Commission *big.Int + CommissionUpdateDelay uint64 + DowntimeGracePeriod uint64 + PledgeMultiplierInReward *fixed.Fixed + SlashingPenaltyResetPeriod uint64 + ValidatorLockedGoldRequirements LockedGoldRequirements + ValidatorScoreAdjustmentSpeed *fixed.Fixed + ValidatorScoreExponent uint64 + type Version struct + Major int64 + Minor int64 + Patch int64