Skip to content
This repository has been archived by the owner on Jan 22, 2025. It is now read-only.

catchup now supports an optional RPC URL argument for validators with private RPC… #8629

Merged
merged 1 commit into from
Mar 4, 2020

Conversation

mvines
Copy link
Contributor

@mvines mvines commented Mar 4, 2020

solana catchup uses gossip to locate the RPC port of the validator of interest.
However validators using the --private-rpc flag will not publish an RPC port in gossip, and thus solana catchup can't find them. But now this is possible by optionally supplying the RPC URL.

For example, a validator that uses --rpc-bind-address 127.0.0.1 from #8628 can run

$ solana catchup ~/validator-identity.json http://127.0.0.1:8899

to monitor the catchup of their node. Of course this only works if the solana catchup command is run from the same machine.

Fixes #8407

@mvines mvines added v1.0 automerge Merge this Pull Request automatically once CI passes labels Mar 4, 2020
@solana-grimes solana-grimes merged commit 09a0325 into solana-labs:master Mar 4, 2020
@codecov
Copy link

codecov bot commented Mar 4, 2020

Codecov Report

Merging #8629 into master will decrease coverage by <.1%.
The diff coverage is 10.5%.

@@           Coverage Diff            @@
##           master   #8629     +/-   ##
========================================
- Coverage      80%     80%   -0.1%     
========================================
  Files         258     258             
  Lines       55847   55858     +11     
========================================
- Hits        44719   44718      -1     
- Misses      11128   11140     +12

mergify bot pushed a commit that referenced this pull request Mar 4, 2020
…th private RPC (#8629)

automerge

(cherry picked from commit 09a0325)
@mvines mvines deleted the url branch March 4, 2020 20:01
solana-grimes added a commit that referenced this pull request Mar 4, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
automerge Merge this Pull Request automatically once CI passes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

solana catchup doesn't work when a validator runs with --private-rpc
2 participants