-
Notifications
You must be signed in to change notification settings - Fork 332
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
Allow specifying primary and witness peers for the light clients #311
Comments
One question I have is where should those be stored? a) in the If we go with b), perhaps we should also merge the |
I would prefer b) and add any required light client options to the the relayer config file. It includes some today already. Could you please add a link to a full light client config as reference? |
It's currently just a map from |
I was asking about the tendermint-rs light client config. |
This comment has been minimized.
This comment has been minimized.
Here is the config file we use for the light node: https://github.com/informalsystems/tendermint-rs/blob/master/light-node/light_node.toml.example |
We have a similar issue in #99, should we close that? |
Let's keep both issues, we'll do the configs merge first and then we can tackle the CLI for editing it. |
Done in #348 |
Summary
We need to be able to somehow configure the primary and witness peers for the light client of a given chain.
Problem Definition
Spawning a light client requires providing both a primary peer and one or more witness peers.
We currently do not track this information, and thus point both the primary and a single witness to the same node.
We need a way of specifying the primary and its witnesses via the command line.
Proposal
Add new subcommands to the
light
command which will allow us to manage the primary and witness peers for a chain's light client. I propose the following API:For Admin Use
The text was updated successfully, but these errors were encountered: