-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Open
Labels
Description
🐛 Bug Report
I think this line might be technically wrong: https://github.com/ProvableHQ/snarkOS/blob/mainnet/node/bft/src/helpers/pending.rs#L55
If stake is spread among the validators unevenly, and a rich node is offline, then we might want to fetch from all of the remaining validators.
Short term fix: re-evaluate how long it takes for these requests to time out and re-issue. We should not dumbly increase the number of requests as this will negatively impact performance.
Long term fix: consider adjusting the Pending queue to account for the stake of the respective peers and adjust redundancy accordingly.