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

This commit is contained in:
sakridge
2021-04-03 14:21:20 -07:00
committed by GitHub
parent a44c32694f
commit 3429785d9b

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