Skip to main content

FeatureSnapshot

Struct FeatureSnapshot 

Source
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_bpf_loader_set_authority_checked_ix: 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: bool

Trait Implementations§

Source§

impl Clone for FeatureSnapshot

Source§

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)

Performs copy-assignment from source. Read more
Source§

impl Debug for FeatureSnapshot

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Eq for FeatureSnapshot

Source§

impl From<&AHashMap<Address, u64>> for FeatureSnapshot

Source§

fn from(active: &AHashMap<Pubkey, u64>) -> Self

Converts to this type from the input type.
Source§

impl PartialEq for FeatureSnapshot

Source§

fn eq(&self, other: &FeatureSnapshot) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl StructuralPartialEq for FeatureSnapshot

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> AbiExample for T

Source§

default fn example() -> T

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

Source§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

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 more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

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
Source§

impl<T> Pointable for T

Source§

const ALIGN: usize

The alignment of pointer.
Source§

type Init = T

The type for initializers.
Source§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
Source§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
Source§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
Source§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

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

fn clone_into(&self, target: &mut T)

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

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V