-
Notifications
You must be signed in to change notification settings - Fork 339
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
feat!: only consider backbone nodes for core protocols #2565
Conversation
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.
Nice :) I have a few comments
Codecov Report
@@ Coverage Diff @@
## master #2565 +/- ##
==========================================
+ Coverage 63.54% 63.81% +0.26%
==========================================
Files 232 235 +3
Lines 25937 26222 +285
==========================================
+ Hits 16482 16733 +251
- Misses 7958 7987 +29
- Partials 1497 1502 +5
Continue to review full report at Codecov.
|
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.
Reviewed 2 of 3 files at r1, 2 of 2 files at r2, 2 of 2 files at r3, all commit messages.
Reviewable status: all files reviewed, 4 unresolved discussions (waiting on @istae)
pkg/blocker/blocker.go, line 91 at r3 (raw file):
defer b.mux.Unlock() _, ok := b.peers[addr.ByteString()]
if _,ok := b.peers[addr.ByteString()]; !ok { b.peers[addr] = &peer.....}
pkg/reacher/reacher.go, line 1 at r3 (raw file):
package reacher
copyright missing
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.
Reviewed 1 of 2 files at r3, 2 of 3 files at r4, 2 of 4 files at r7, 1 of 1 files at r8, 1 of 1 files at r9, all commit messages.
Reviewable status: all files reviewed, 4 unresolved discussions (waiting on @acud and @istae)
pkg/reacher/metrics.go, line 25 at r9 (raw file):
Subsystem: subsystem, Name: "pings", Help: "Ping counter.",
I'd suggest using phrases as: "The number of pings made."
pkg/reacher/metrics.go, line 30 at r9 (raw file):
Namespace: m.Namespace, Subsystem: subsystem, Name: "ping_timer",
I'd suggest using ping_duration
pkg/reacher/metrics.go, line 31 at r9 (raw file):
Subsystem: subsystem, Name: "ping_timer", Help: "Ping timer.",
I'd suggest using phrases as: "The duration of a ping".
few comments:
type PickyNotifier interface {
Picker
Notifier
ReachabilityUpdater
ReachableNotifier
} |
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.
Reviewed 9 of 20 files at r15, 8 of 14 files at r16, 6 of 6 files at r17, all commit messages.
Reviewable status: all files reviewed, 4 unresolved discussions (waiting on @acud and @istae)
00ebfc9
to
2753f25
Compare
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
@istae Just to be clear, since this PR has been merged into master, then master builds now contain the protocol version changes which makes it a breaking change and no longer compatible with the current testnet and mainnet swarms? |
fixes #2555
fixes #2550
This change is