pub struct FeatureSnapshot {Show 71 fields
pub blake3_syscall_enabled: bool,
pub disable_fees_sysvar: bool,
pub curve25519_syscall_enabled: bool,
pub stake_raise_minimum_delegation_to_1_sol: bool,
pub disable_deploy_of_alloc_free_syscall: bool,
pub increase_tx_account_lock_limit: bool,
pub enable_bpf_loader_set_authority_checked_ix: bool,
pub enable_alt_bn128_syscall: bool,
pub simplify_alt_bn128_syscall_error_codes: bool,
pub enable_big_mod_exp_syscall: bool,
pub remove_bpf_loader_incorrect_program_id: bool,
pub syscall_parameter_address_restrictions: bool,
pub virtual_address_space_adjustments: bool,
pub account_data_direct_mapping: bool,
pub last_restart_slot_sysvar: bool,
pub enable_poseidon_syscall: bool,
pub remaining_compute_units_syscall_enabled: bool,
pub enable_alt_bn128_compression_syscall: bool,
pub abort_on_invalid_curve: bool,
pub get_sysvar_syscall_enabled: bool,
pub enable_get_epoch_stake_syscall: bool,
pub move_stake_and_move_lamports_ixs: bool,
pub move_precompile_verification_to_svm: bool,
pub deprecate_legacy_vote_ixs: bool,
pub disable_sbpf_v0_execution: bool,
pub reenable_sbpf_v0_execution: bool,
pub enable_sbpf_v1_deployment_and_execution: bool,
pub enable_sbpf_v2_deployment_and_execution: bool,
pub enable_sbpf_v3_deployment_and_execution: bool,
pub disable_sbpf_v0_v1_v2_deployment: bool,
pub deplete_cu_meter_on_vm_failure: bool,
pub fix_alt_bn128_multiplication_input_length: bool,
pub formalize_loaded_transaction_data_size: bool,
pub alpenglow: bool,
pub alpenglow_fast_leader_handover: bool,
pub disable_zk_elgamal_proof_program: bool,
pub reenable_zk_elgamal_proof_program: bool,
pub raise_block_limits_to_100m: bool,
pub raise_cpi_nesting_limit_to_8: bool,
pub provide_instruction_data_offset_in_vm_r2: bool,
pub create_account_allow_prefund: bool,
pub delay_commission_updates: bool,
pub increase_cpi_account_info_limit: bool,
pub deprecate_rent_exemption_threshold: bool,
pub poseidon_enforce_padding: bool,
pub fix_alt_bn128_pairing_length_check: bool,
pub alt_bn128_little_endian: bool,
pub bls_pubkey_management_in_vote_account: bool,
pub relax_programdata_account_check_migration: bool,
pub enable_alt_bn128_g2_syscalls: bool,
pub commission_rate_in_basis_points: bool,
pub custom_commission_collector: bool,
pub enable_bls12_381_syscall: bool,
pub set_lamports_per_byte_to_6333: bool,
pub set_lamports_per_byte_to_5080: bool,
pub set_lamports_per_byte_to_2575: bool,
pub set_lamports_per_byte_to_1322: bool,
pub limit_instruction_accounts: bool,
pub block_revenue_sharing: bool,
pub vote_account_initialize_v2: bool,
pub validate_chained_block_id: bool,
pub validator_admission_ticket: bool,
pub direct_account_pointers_in_program_input: bool,
pub upgrade_bpf_stake_program_to_v5: bool,
pub loader_v3_minimum_extend_program_size: bool,
pub enable_sha512_syscall: bool,
pub relax_post_exec_min_balance_check: bool,
pub enable_tx_v1: bool,
pub define_ltds_fee_only_semantics: bool,
pub validate_chained_block_id_2: bool,
pub upgrade_bpf_stake_program_to_v5_1: bool,
}Expand description
A snapshot of features for faster access without a hash lookup.
It should contain only features that have not been activated on
all clusters.
The order of fields should match the declaration order in
FEATURE_NAMES.
Fields§
§blake3_syscall_enabled: bool§disable_fees_sysvar: bool§curve25519_syscall_enabled: bool§stake_raise_minimum_delegation_to_1_sol: bool§disable_deploy_of_alloc_free_syscall: bool§increase_tx_account_lock_limit: bool§enable_alt_bn128_syscall: bool§simplify_alt_bn128_syscall_error_codes: bool§enable_big_mod_exp_syscall: bool§remove_bpf_loader_incorrect_program_id: bool§syscall_parameter_address_restrictions: bool§virtual_address_space_adjustments: bool§account_data_direct_mapping: bool§last_restart_slot_sysvar: bool§enable_poseidon_syscall: bool§remaining_compute_units_syscall_enabled: bool§enable_alt_bn128_compression_syscall: bool§abort_on_invalid_curve: bool§get_sysvar_syscall_enabled: bool§enable_get_epoch_stake_syscall: bool§move_stake_and_move_lamports_ixs: bool§move_precompile_verification_to_svm: bool§deprecate_legacy_vote_ixs: bool§disable_sbpf_v0_execution: bool§reenable_sbpf_v0_execution: bool§enable_sbpf_v1_deployment_and_execution: bool§enable_sbpf_v2_deployment_and_execution: bool§enable_sbpf_v3_deployment_and_execution: bool§disable_sbpf_v0_v1_v2_deployment: bool§deplete_cu_meter_on_vm_failure: bool§fix_alt_bn128_multiplication_input_length: bool§formalize_loaded_transaction_data_size: bool§alpenglow: bool§alpenglow_fast_leader_handover: bool§disable_zk_elgamal_proof_program: bool§reenable_zk_elgamal_proof_program: bool§raise_block_limits_to_100m: bool§raise_cpi_nesting_limit_to_8: bool§provide_instruction_data_offset_in_vm_r2: bool§create_account_allow_prefund: bool§delay_commission_updates: bool§increase_cpi_account_info_limit: bool§deprecate_rent_exemption_threshold: bool§poseidon_enforce_padding: bool§fix_alt_bn128_pairing_length_check: bool§alt_bn128_little_endian: bool§bls_pubkey_management_in_vote_account: bool§relax_programdata_account_check_migration: bool§enable_alt_bn128_g2_syscalls: bool§commission_rate_in_basis_points: bool§custom_commission_collector: bool§enable_bls12_381_syscall: bool§set_lamports_per_byte_to_6333: bool§set_lamports_per_byte_to_5080: bool§set_lamports_per_byte_to_2575: bool§set_lamports_per_byte_to_1322: bool§limit_instruction_accounts: bool§block_revenue_sharing: bool§vote_account_initialize_v2: bool§validate_chained_block_id: bool§validator_admission_ticket: bool§direct_account_pointers_in_program_input: bool§upgrade_bpf_stake_program_to_v5: bool§loader_v3_minimum_extend_program_size: bool§enable_sha512_syscall: bool§relax_post_exec_min_balance_check: bool§enable_tx_v1: bool§define_ltds_fee_only_semantics: bool§validate_chained_block_id_2: bool§upgrade_bpf_stake_program_to_v5_1: boolTrait Implementations§
Source§impl Clone for FeatureSnapshot
impl Clone for FeatureSnapshot
Source§fn clone(&self) -> FeatureSnapshot
fn clone(&self) -> FeatureSnapshot
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FeatureSnapshot
impl Debug for FeatureSnapshot
impl Eq for FeatureSnapshot
Source§impl PartialEq for FeatureSnapshot
impl PartialEq for FeatureSnapshot
impl StructuralPartialEq for FeatureSnapshot
Auto Trait Implementations§
impl Freeze for FeatureSnapshot
impl RefUnwindSafe for FeatureSnapshot
impl Send for FeatureSnapshot
impl Sync for FeatureSnapshot
impl Unpin for FeatureSnapshot
impl UnsafeUnpin for FeatureSnapshot
impl UnwindSafe for FeatureSnapshot
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more