tendermint / light-client

DEPRECATED: A light client for tendermint, supporting signatures, proofs, and validation (see github.com/tendermint/tendermint/lite)
Other
17 stars 9 forks source link

add a standalone reset_all mechanism #25

Closed rigelrozanski closed 7 years ago

rigelrozanski commented 7 years ago

Makes sense to be able to wipe the working directory (eg. ~/.basecli) without needing to init, right now this can be achieved with the --force-reset flag on init however, if you don't want to init but just wipe a directory clean (aka performing a command like basecli --force-reset) you're going to receive an error for not including the --chainid flag... which makes sense if we were trying to init, but I'm really just trying to reset.

Typical process flow that requires this change:

ethanfrey commented 7 years ago

Yes, need some more work flows.

I like the ideas that init never wipes out the keys. And gives a warning if it will wipe out the seeds.

And then a reset all that wipes out everything.

Let's chat more

rigelrozanski commented 7 years ago

Simply put I think all those ideas are on point let's implement. It's a nice idea to be able to reset seeds with init without wiping keys.

ethanfrey commented 7 years ago

Resolved with PR #29