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

Reorder block gossip conditions #1687

Merged
merged 1 commit into from
Mar 26, 2020
Merged

Reorder block gossip conditions #1687

merged 1 commit into from
Mar 26, 2020

Conversation

djrtwo
Copy link
Contributor

@djrtwo djrtwo commented Mar 26, 2020

Reorder block gossip conditions based on convo with @paulhauner

Check the signature wrt block.proposer_index before checking that the proposer is the expected proposer for the slot. This limits the scope of DoS to other validators rather than to the entire world.

Keep the optional "MAY" on queuing a block to investigate proper shuffling in case that a cartel of proposers goes rogue and starts the N-1 per slot block DoS vector. Cool thing here is that if a cartel does abuse this, we can (out of band) figure it out and fight back

@djrtwo djrtwo requested a review from protolambda March 26, 2020 17:47
Copy link
Contributor

@protolambda protolambda left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

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.

2 participants