Skip to content

Ensure proposals are from the real proposer#23

Open
joeywang4 wants to merge 1 commit intohot-stuff:masterfrom
joeywang4:master
Open

Ensure proposals are from the real proposer#23
joeywang4 wants to merge 1 commit intohot-stuff:masterfrom
joeywang4:master

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