-
Notifications
You must be signed in to change notification settings - Fork 205
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
p2p: define DiscReason as uint8 (#24507) #1886
Conversation
All other implementations store disconnect reasons as a single byte, so go-ethereum should do it too.
Coverage from tests in coverage: 51.1% of statements across all listed packagescoverage: 61.6% of statements in consensus/istanbul coverage: 41.7% of statements in consensus/istanbul/announce coverage: 54.9% of statements in consensus/istanbul/backend coverage: 0.0% of statements in consensus/istanbul/backend/backendtest coverage: 24.3% of statements in consensus/istanbul/backend/internal/replica coverage: 71.2% of statements in consensus/istanbul/core coverage: 45.0% of statements in consensus/istanbul/db coverage: 0.0% of statements in consensus/istanbul/proxy coverage: 64.4% of statements in consensus/istanbul/uptime coverage: 51.8% of statements in consensus/istanbul/validator coverage: 79.2% of statements in consensus/istanbul/validator/randomCommentID: 79e7b93e93 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for jumping on this @piersy
Codecov Report
@@ Coverage Diff @@
## master #1886 +/- ##
==========================================
+ Coverage 54.35% 54.41% +0.06%
==========================================
Files 673 673
Lines 88954 88954
==========================================
+ Hits 48349 48406 +57
+ Misses 36953 36894 -59
- Partials 3652 3654 +2
Continue to review full report at Codecov.
|
Cherry picking upstream pr All other implementations store disconnect reasons as a single byte, so go-ethereum should do it too. Co-authored-by: Felix Lange <fjl@twurst.com>
Cherry picking upstream pr All other implementations store disconnect reasons as a single byte, so go-ethereum should do it too. Co-authored-by: Felix Lange <fjl@twurst.com>
Cherry picking this pr from upstream.
All other implementations store disconnect reasons as a single byte,
so go-ethereum should do it too.