-
Notifications
You must be signed in to change notification settings - Fork 1.5k
feat: improve squelching configuration #5438
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
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #5438 +/- ##
=========================================
- Coverage 78.6% 78.6% -0.0%
=========================================
Files 816 816
Lines 70506 70534 +28
Branches 8287 8287
=========================================
+ Hits 55452 55469 +17
- Misses 15054 15065 +11
🚀 New features to boost your workflow:
|
728a824
to
8a8c804
Compare
This change moves the responsibility to check whether squelching is ready from the PeerImp to the slot. As a result removing a global bool, and further decoupling PeerImp from squelching
d0fed82
to
ac3b1dd
Compare
9dfb68f
to
5be2e9e
Compare
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.
Please see my 3 comments in the PR.
Thank you for reviewing the code @vlntb 🙇 . I addressed your comments. |
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.
Everything is addressed and looks good!
This PR introduces the following changes:
vp_enable
config option tovp_base_squelch_enable
to enable squelching for validators.vp_squelch
config option which was used to configure whether to send squelch messages to peers or not. With this flag removed, if squelching is enabled, squelch messages will be sent. This was an option used for debugging.vp_base_squelch_max_trusted_peers
config option to change the max number of peers who are selected as validator message sources. This is a temporary option, which will be removed once a good value is found.High Level Overview of Change
Context of Change
Type of Change
.gitignore
, formatting, dropping support for older tooling)API Impact
libxrpl
change (any change that may affectlibxrpl
or dependents oflibxrpl
)