Skip to content
This repository has been archived by the owner on Oct 31, 2023. It is now read-only.

Protect primary against DoS #3

Open
asonnino opened this issue Jun 17, 2021 · 0 comments
Open

Protect primary against DoS #3

asonnino opened this issue Jun 17, 2021 · 0 comments
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@asonnino
Copy link
Contributor

asonnino commented Jun 17, 2021

A bad node may make us run out of memory by sending many headers with very high round numbers. An easy fix is to add one parent certificate (not its hash) to the header, and only sign header with a round of certificate.round + 1.

@asonnino asonnino added bug Something isn't working good first issue Good for newcomers labels Jun 17, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant