requires stakes for propagating crds values through gossip (backport #15561) (#16773)

* requires stakes for propagating crds values through gossip (#15561)

(cherry picked from commit f2865dfd63)

# Conflicts:
#	core/src/cluster_info.rs
#	sdk/src/feature_set.rs

* removes backport merge conflicts

Co-authored-by: behzad nouri <behzadnouri@gmail.com>
This commit is contained in:
mergify[bot]
2021-04-23 17:55:15 +00:00
committed by GitHub
parent e5460f97ad
commit bd8e3182ae
5 changed files with 150 additions and 23 deletions

View File

@@ -179,6 +179,10 @@ pub mod check_duplicates_by_hash {
solana_sdk::declare_id!("8ZqTSYHgzyaYCcXJPMViRy6afCFSgNvYooPDeVdyj5GC");
}
pub mod require_stake_for_gossip {
solana_sdk::declare_id!("6oNzd5Z3M2L1xo4Q5hoox7CR2DuW7m1ETLWH5jHJthwa");
}
lazy_static! {
/// Map of feature identifiers to user-visible description
pub static ref FEATURE_NAMES: HashMap<Pubkey, &'static str> = [
@@ -224,6 +228,7 @@ lazy_static! {
(cpi_data_cost::id(), "charge the compute budget for data passed via CPI"),
(upgradeable_close_instruction::id(), "close upgradeable buffer accounts"),
(check_duplicates_by_hash::id(), "use transaction message hash for duplicate check"),
(require_stake_for_gossip::id(), "require stakes for propagating crds values through gossip #15561"),
/*************** ADD NEW FEATURES HERE ***************/
]
.iter()