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

Fix discovery packet size #2252

Merged
merged 5 commits into from
May 11, 2021
Merged

Conversation

atoulme
Copy link
Contributor

@atoulme atoulme commented May 8, 2021

Signed-off-by: Antoine Toulme antoine@lunar-ocean.com

PR description

Make sure Besu sends NEIGHBORS packets under MTU size.

Fixed Issue(s)

#2250

Changelog

atoulme added 2 commits May 10, 2021 15:43
Signed-off-by: Antoine Toulme <antoine@lunar-ocean.com>
Signed-off-by: Antoine Toulme <antoine@lunar-ocean.com>
@atoulme atoulme force-pushed the fix_discovery_packets branch from 30db95f to 13d2045 Compare May 10, 2021 22:44
atoulme and others added 2 commits May 10, 2021 21:12
Signed-off-by: Antoine Toulme <antoine@lunar-ocean.com>
@macfarla macfarla merged commit c682ea4 into hyperledger:master May 11, 2021
@atoulme atoulme deleted the fix_discovery_packets branch May 11, 2021 16:19
eum602 pushed a commit to lacchain/besu that referenced this pull request Nov 3, 2023
* Fix discovery packet size

Signed-off-by: Antoine Toulme <antoine@lunar-ocean.com>

* Add assertion to check the size of the packet once encoded

Signed-off-by: Antoine Toulme <antoine@lunar-ocean.com>

* code review

Signed-off-by: Antoine Toulme <antoine@lunar-ocean.com>

Co-authored-by: Sally MacFarlane <sally.macfarlane@consensys.net>
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.

3 participants