Skip to content

[Bug] Certificate fetching redundancy must be increased #3857

@vicsn

Description

@vicsn

🐛 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.

Metadata

Metadata

Assignees

Labels

bugIncorrect or unexpected behaviorq4

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions