Feature-gate for incremental snapshots only hashing accounts in the incremental snapshot (#26809)
Add feature module and pubkey for incremental snapshots hashing only accounts in the snapshot
This commit is contained in:
parent
4d15e774ee
commit
bda14e348a
|
@ -488,6 +488,10 @@ pub mod concurrent_replay_of_forks {
|
||||||
solana_sdk::declare_id!("9F2Dcu8xkBPKxiiy65XKPZYdCG3VZDpjDTuSmeYLozJe");
|
solana_sdk::declare_id!("9F2Dcu8xkBPKxiiy65XKPZYdCG3VZDpjDTuSmeYLozJe");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
pub mod incremental_snapshot_only_incremental_hash_calculation {
|
||||||
|
solana_sdk::declare_id!("25vqsfjk7Nv1prsQJmA4Xu1bN61s8LXCBGUPp8Rfy1UF");
|
||||||
|
}
|
||||||
|
|
||||||
lazy_static! {
|
lazy_static! {
|
||||||
/// Map of feature identifiers to user-visible description
|
/// Map of feature identifiers to user-visible description
|
||||||
pub static ref FEATURE_NAMES: HashMap<Pubkey, &'static str> = [
|
pub static ref FEATURE_NAMES: HashMap<Pubkey, &'static str> = [
|
||||||
|
@ -604,6 +608,7 @@ lazy_static! {
|
||||||
(use_default_units_in_fee_calculation::id(), "use default units per instruction in fee calculation #26785"),
|
(use_default_units_in_fee_calculation::id(), "use default units per instruction in fee calculation #26785"),
|
||||||
(compact_vote_state_updates::id(), "Compact vote state updates to lower block size"),
|
(compact_vote_state_updates::id(), "Compact vote state updates to lower block size"),
|
||||||
(concurrent_replay_of_forks::id(), "Allow slots from different forks to be replayed concurrently #26465"),
|
(concurrent_replay_of_forks::id(), "Allow slots from different forks to be replayed concurrently #26465"),
|
||||||
|
(incremental_snapshot_only_incremental_hash_calculation::id(), "only hash accounts in incremental snapshot during incremental snapshot creation #26799"),
|
||||||
/*************** ADD NEW FEATURES HERE ***************/
|
/*************** ADD NEW FEATURES HERE ***************/
|
||||||
]
|
]
|
||||||
.iter()
|
.iter()
|
||||||
|
|
Loading…
Reference in New Issue