Comments (8)
Anton and I discussed the cli interface and proposed the following changes:
-
Merge the Init and Update Cmd to a start command because they almost do the same thing.
-
Add a getHeader and getValidatorSet command which takes the height as an argument and returns the header and validator respectively. This can be used to confirm that what has been relayed is now in the other blockchain.
from relayer-archive.
cc @cmwaters
from relayer-archive.
I propose the following sub-commands:
lite reset [chainID] --trusted-hash=0xaaabbb --trusted-height=1
lite reset [chainID] --url https://xyz.com
lite delete [chainID]
lite header chainID # returns latest header without params
lite header chainID 1 # returns header at height 1 (if stored)
lite header chainID -1 # returns first stored header
lite vals chainID # returns latest validator set without params
lite vals chainID 1 # returns validator set at height 1 (if stored)
lite vals chainID -1 # returns first stored validator set
from relayer-archive.
Q:
- do we need
lite stop
andlite delete
sub-commands? What's the point of stopping the light client? maintenance? - should
lite stop
also delete all the data? What's the point of having a separate command?
My opinion:
we don't need stop (for now) but delete is required because process can crash and the user will need to manually delete the data sometimes.
from relayer-archive.
@melekes agreed with removing stop
and adding delete
. Like the lite get-header
and lite get-valset
. Would be nice if you could also use that to query for the roots of trust too.
from relayer-archive.
Update the list of sub-commands: cosmos/relayer#1 (comment)
from relayer-archive.
Would be nice if you could also use that to query for the roots of trust too.
that's what lite header
is for
from relayer-archive.
@melekes @cmwaters really enjoyed working with y'all on this. Going to close this issue as complete!
from relayer-archive.
Related Issues (20)
- Limit and pages flags in query txs are igonred
- Code 6 when calling `rly transact raw update-client` HOT 5
- Empty packet data or ack fails signature verification
- Error when linking chains
- Add order chantypes.Order to PathEnd HOT 1
- Use lite client to verify all data coming back from queries HOT 1
- Improve logging in the handshake code HOT 1
- Better control flow for Connection and Channel commands HOT 1
- Dynamic unbonding time HOT 1
- Basic web-hook alerting system HOT 3
- Move Strategies to Paths
- Migrate ci-chains.sh to new configuration format HOT 1
- Cannot add path for the two chains HOT 3
- No ’relayer q balance‘ likely HOT 1
- GolangCI-Lint Error HOT 2
- Fail to make it on ubuntu HOT 1
- err(channels: channel not found) HOT 1
- Atomic swap support HOT 1
- Issue with the instructions in the Readme file? HOT 3
- rly paths add ibc error
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from relayer-archive.