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: u64
unused: u64
poh_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
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for GenesisConfig
impl Send for GenesisConfig
impl Sync for GenesisConfig
impl Unpin for GenesisConfig
impl UnwindSafe for GenesisConfig
Blanket Implementations
pub default fn visit_for_abi(
&self,
digester: &mut AbiDigester
) -> Result<AbiDigester, DigestError>
pub default fn visit_for_abi(
&self,
_digester: &mut AbiDigester
) -> Result<AbiDigester, DigestError>
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self