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

Ensure proposals are from the real proposer #23

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

Conversation

joeywang4
Copy link

@joeywang4 joeywang4 commented Oct 13, 2021

Closes #22

When a node receives a proposal, it should check the sender is the current proposer. Otherwise, there is no liveness, as discussed in the issue.

I fixed this by adding an if condition to verify the identity of the proposer. If a proposal is sent from other nodes, this proposal is ignored.

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

Successfully merging this pull request may close these issues.

Proposer is not verified
1 participant