Skip to content

Reorder block gossip conditions#1687

Merged
djrtwo merged 1 commit into
v011xfrom
reorder-p2p-block-conditions
Mar 26, 2020
Merged

Reorder block gossip conditions#1687
djrtwo merged 1 commit into
v011xfrom
reorder-p2p-block-conditions

Conversation

@djrtwo

@djrtwo djrtwo commented Mar 26, 2020

Copy link
Copy Markdown
Contributor

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

@protolambda protolambda left a comment

Copy link
Copy Markdown
Contributor

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