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 endorsement-proposal verify step #134

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

devfans
Copy link
Contributor

@devfans devfans commented Jul 18, 2023

Block endorsement and commitment messages are not verified against the local proposal. Here we add it to avoid invalid block sealing. This also indicates block endorsements and commitments will be ignored without relevant proposal available. These cases need to wait till the proposals are fetched in async.

@devfans
Copy link
Contributor Author

devfans commented Jul 18, 2023

Also, with this change, a node will only proceed with the first proposed block hash from the same proposer. Need to be reviewed to avoid potential consensus incompatibility.

@devfans devfans changed the title Add endorsement verify step Add endorsement-proposal verify step Jul 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant