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

Add new test case in net_dynamic_hb. #384

Open
RicoGit opened this issue Feb 26, 2019 · 0 comments
Open

Add new test case in net_dynamic_hb. #384

RicoGit opened this issue Feb 26, 2019 · 0 comments

Comments

@RicoGit
Copy link
Contributor

RicoGit commented Feb 26, 2019

Motivation

Better testing DynamicHoneyBadger for a more general case.

Proposition

New test case replace_all_validators will replace the entire network with a new one. The new set of validator will not overlap with the first one.

Related details

Both sets need to satisfy the condition that less than a third of them are malicious. But note that correctness of the algorithm never depends on the intersection of the sets or anything. During the transition period, the old set is still fully performing the consensus algorithm, while the new set is running the distributed key generation (DKG). After DKG has been completed, the new set takes over the consensus algorithm.

See the discussion in #374.

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

No branches or pull requests

1 participant