-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Cli configurable validators #18630
Cli configurable validators #18630
Conversation
d1a6f7d
to
e64b612
Compare
Codecov Report
@@ Coverage Diff @@
## master #18630 +/- ##
=========================================
- Coverage 82.7% 82.7% -0.1%
=========================================
Files 436 436
Lines 123485 123512 +27
=========================================
- Hits 102192 102168 -24
- Misses 21293 21344 +51 |
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.
Code lgtm, one nit.
Concerned at all about the implications of variable delinquent slot distance for downstream tools (block explorers, validator stats, etc)? Or you figure that anyone assertive enough to use delinquent_slot_distance
should expose that configuration to users in their product?
I'd like to think that no one would bother to expose it at all. This does remind me that I should update the docs though, so I'll put a warning there. |
e64b612
to
d680cd4
Compare
automerge label removed due to a CI failure |
d680cd4
to
d612c5a
Compare
If "http://validator-website.com" is calling my node delinquent for being 20 slots behind, but my node looks fine on "http://validator-website-2.com" because they are using a threshold of 300 slots, I would want to know? |
Sorry, I misread that as expose as a knob to the user. I'd really like to think no one would pass it, period. The following note of discouragement was added with the docs update. Hopefully it's sufficient solana/docs/src/developing/clients/jsonrpc-api.md Line 3032 in 9ed1f24
|
* rpc: more params for `GetVoteAccountsConfig` (cherry picked from commit bf90ea2) # Conflicts: # docs/src/developing/clients/jsonrpc-api.md * cli: allow returning more `solana validators` (cherry picked from commit a4a24b6) # Conflicts: # Cargo.lock # cli/Cargo.toml # cli/src/cluster_query.rs Co-authored-by: Trent Nelson <trent@solana.com>
Problem
solana validators
can only return a filtered list of validatorsSummary of Changes
getVoteAccounts