Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support robust consensus strategies between providers #284

Closed
gregorydemay opened this issue Sep 20, 2024 · 0 comments · Fixed by #286 or #287
Closed

Support robust consensus strategies between providers #284

gregorydemay opened this issue Sep 20, 2024 · 0 comments · Fixed by #286 or #287

Comments

@gregorydemay
Copy link
Member

Whenever the EVM-RPC canister queries multiple providers, equality between all responses are expected, otherwise all individual results are returned in the Inconsistent variant. This means that as soon as provider is for example offline, all results will be deemed Inconsistent. A more robust approach would let the caller specify a k-out-n threshold, so that equality of at least k (non-error) responses among the n providers queried is sufficient to have consensus.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant