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

BFT Block Puller: make sure invalid headers don't go beyond config-index #4351

Closed
Tracked by #4240
tock-ibm opened this issue Aug 3, 2023 · 1 comment
Closed
Tracked by #4240

Comments

@tock-ibm
Copy link
Contributor

tock-ibm commented Aug 3, 2023

Let's assume the last config block is Bm, i.e. config-index=m.

If the block target orderer stops right before the next config block Bn, and Bn makes future blocks invalid if verified with Bm, the headers receivers should not go beyond block n.
Since invalid headers are ignored, if they do go ahead, this may cause the censorship event to go undetected.

A simplification of the rule above is not to allow header receivers to go beyond the config index of the last block. This way, a censorship attempt of a config block is always detected.

@tock-ibm tock-ibm changed the title BFT Block Puller: make sure invalid headers don't go beyond config-sequence BFT Block Puller: make sure invalid headers don't go beyond config-index Aug 6, 2023
@tock-ibm
Copy link
Contributor Author

This issue has been addressed by having independent verifiers for header receivers and the block receiver.

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