Skip to content

Non Validators Happy Path#358

Open
samliok wants to merge 6 commits intomainfrom
non-validator
Open

Non Validators Happy Path#358
samliok wants to merge 6 commits intomainfrom
non-validator

Conversation

@samliok
Copy link
Collaborator

@samliok samliok commented Mar 13, 2026

No description provided.


// TODO: do we need this check for non-validators? I added because otherwise we would need to store all blocks received until we receive a finalization
// but this could be a dos since a malicious node can spam us with bad blocks.
if !bytes.Equal(simplex.LeaderForRound(n.latestEpoch.validators, bh.Round), from) {
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

do we need this check for non-validators? I added because otherwise we would need to store all blocks received until we receive a finalization but this could be a dos since a malicious node can spam us with bad blocks.

@samliok samliok marked this pull request as ready for review March 17, 2026 19:32
samliok and others added 2 commits March 17, 2026 14:36
Signed-off-by: Sam Liokumovich <65994425+samliok@users.noreply.github.com>
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.

1 participant