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

(cherry picked from commit 3429785d9b)

Co-authored-by: sakridge <sakridge@gmail.com>
This commit is contained in:
mergify[bot]
2021-04-03 22:34:37 +00:00
committed by GitHub
parent 194a07862f
commit b4bb062a2e

View File

@ -1269,7 +1269,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