From b4bb062a2ec4ae05ff5d9df5bafd40650b6fb8ad Mon Sep 17 00:00:00 2001 From: "mergify[bot]" <37929162+mergify[bot]@users.noreply.github.com> Date: Sat, 3 Apr 2021 22:34:37 +0000 Subject: [PATCH] Wait for 90 percent of stake before starting (#16340) (#16343) (cherry picked from commit 3429785d9b3cdae30c67bb93057107f55bcda7e2) Co-authored-by: sakridge --- core/src/validator.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/validator.rs b/core/src/validator.rs index 398daa3827..350b89b3aa 100644 --- a/core/src/validator.rs +++ b/core/src/validator.rs @@ -1269,7 +1269,7 @@ fn wait_for_supermajority( let gossip_stake_percent = get_stake_percent_in_gossip(&bank, &cluster_info, i % 10 == 0); - if gossip_stake_percent >= 80 { + if gossip_stake_percent >= 90 { break; } // The normal RPC health checks don't apply as the node is waiting, so feign health to