Struct solana_sdk::genesis_config::GenesisConfig[][src]

pub struct GenesisConfig {
Show 13 fields pub creation_time: UnixTimestamp, pub accounts: BTreeMap<Pubkey, Account>, pub native_instruction_processors: Vec<(String, Pubkey)>, pub rewards_pools: BTreeMap<Pubkey, Account>, pub ticks_per_slot: u64, pub unused: u64, pub poh_config: PohConfig, pub __backwards_compat_with_v0_23: u64, pub fee_rate_governor: FeeRateGovernor, pub rent: Rent, pub inflation: Inflation, pub epoch_schedule: EpochSchedule, pub cluster_type: ClusterType,
}

Fields

creation_time: UnixTimestamp

when the network (bootstrap validator) was started relative to the UNIX Epoch

accounts: BTreeMap<Pubkey, Account>

initial accounts

native_instruction_processors: Vec<(String, Pubkey)>

built-in programs

rewards_pools: BTreeMap<Pubkey, Account>

accounts for network rewards, these do not count towards capitalization

ticks_per_slot: u64unused: u64poh_config: PohConfig

network speed configuration

__backwards_compat_with_v0_23: u64

this field exists only to ensure that the binary layout of GenesisConfig remains compatible with the Safecoin v0.23 release line

fee_rate_governor: FeeRateGovernor

transaction fee config

rent: Rent

rent config

inflation: Inflation

inflation config

epoch_schedule: EpochSchedule

how slots map to epochs

cluster_type: ClusterType

network runlevel

Implementations

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Deserialize this value from the given Serde deserializer. Read more

Formats the value using the given formatter. Read more

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Should always be Self

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

Converts the given value to a String. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.