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

solana catchup doesn't work when a validator runs with --private-rpc #8407

Closed
mvines opened this issue Feb 23, 2020 · 0 comments · Fixed by #8629
Closed

solana catchup doesn't work when a validator runs with --private-rpc #8407

mvines opened this issue Feb 23, 2020 · 0 comments · Fixed by #8629
Assignees
Labels
good first issue Good for newcomers
Milestone

Comments

@mvines
Copy link
Contributor

mvines commented Feb 23, 2020

The solana-validator --private-rpc ... flag allows validators to hide their RPC port from the rest of the cluster while retaining it open for their private use. But this breaks the solana catchup command, which relies on finding the validator's RPC port in gossip.

For solana catchup to work in this configuration, --private-rpc users will need to tell solana catchup their RPC port. The best option I see for this right now is to Expand solana catchup <PUBKEY> to solana catchup <PUBKEY or RPC URL>:

$ solana catchup http://127.0.0.1:8899
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant