Wait for 90 percent of stake before starting (#16340) (#16344)

(cherry picked from commit 3429785d9b)

Co-authored-by: sakridge <sakridge@gmail.com>
This commit is contained in:
mergify[bot]
2021-04-03 22:50:58 +00:00
committed by GitHub
parent b7efc2373c
commit ef079d202b

View File

@ -1365,7 +1365,7 @@ fn wait_for_supermajority(
let gossip_stake_percent = get_stake_percent_in_gossip(&bank, &cluster_info, i % 10 == 0); 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; break;
} }
// The normal RPC health checks don't apply as the node is waiting, so feign health to // The normal RPC health checks don't apply as the node is waiting, so feign health to