fix(op-node): Peer Scoring Metrics#5204
Conversation
|
✅ Deploy Preview for opstack-docs ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## develop #5204 +/- ##
===========================================
- Coverage 40.00% 36.19% -3.81%
===========================================
Files 371 217 -154
Lines 23512 19082 -4430
Branches 832 0 -832
===========================================
- Hits 9405 6907 -2498
+ Misses 13402 11503 -1899
+ Partials 705 672 -33
Flags with carried forward coverage won't be shown. Click here to find out more.
|
|
The |
sebastianst
left a comment
There was a problem hiding this comment.
please make sure to clean up old implementation artifacts
699ee3b to
ddc14c4
Compare
…timism into refcell/fix/pscores
trianglesphere
left a comment
There was a problem hiding this comment.
I really like the score bands & stream_count metrics, but I'm a little confused on how the BandScorer is being used.
ajsutton
left a comment
There was a problem hiding this comment.
Looks ok to me. Left a couple of suggestions but will defer to Seb and Josh for the bigger picture stuff.
|
hmm, running this locally with and my very malicious peer that's spamming invalid gossip isn't being disconnected. |
sebastianst
left a comment
There was a problem hiding this comment.
Looks good to me now, excited to see this in action soon 🤩 Just some minor suggestions for further simplification.
trianglesphere
left a comment
There was a problem hiding this comment.
ops changes lgtm. Only one q about the prepared p2p stuff
|
This PR has been added to the merge queue, and will be merged soon. |
|
This PR is next in line to be merged, and will be merged as soon as checks pass. |
1 similar comment
|
This PR is next in line to be merged, and will be merged as soon as checks pass. |
Description
Fixes CLI-3646
Adds a quick-fix to the peer scoring p2p flags in
op-nodeand adds back thepeer_idso we can track peer scores in testing environments.