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

Question regarding missed batch #435

Open
promptlyspeaking opened this issue Nov 17, 2020 · 1 comment
Open

Question regarding missed batch #435

promptlyspeaking opened this issue Nov 17, 2020 · 1 comment

Comments

@promptlyspeaking
Copy link

Hi, I'm trying to understand different BFT implementations. Just a question if anybody could help me out, specific to this library.

Should there be a network failure that causes a node to miss a batch of contribution, what would happen? Does hbbft attempt to recover the missed batch or would the node fail forever from then on?

Thanks for your time.

@afck
Copy link
Collaborator

afck commented Nov 29, 2020

If I remember correctly the hbbft crate doesn't do that automatically, but gives the caller the option to do so.
E.g. you could imagine using hbbft in a blockchain context, and whenever a batch gets finalized, you turn it into a block and all validators sign it. In such a program you could call skip_to_epoch(42) if you receive block 41 with a quorum of signatures, thus skipping epoch 41 and catching up, even if you missed the HBBFT messages from epoch 41.

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

2 participants