-
Notifications
You must be signed in to change notification settings - Fork 160
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
Tracking issue: Forest executable re-organization #3172
Comments
Alternative proposal: a single A kind of "do what git does". I also want to change how |
The configuration is already a known issue and there were attempts to make it right, unfortunately, it got buried at the bottom of the backlog. As for one binary, it was the case for Forest some time ago. We decided to split. While splitting further the Having a separate |
Done. |
Issue summary
It's becoming increasingly painful to keep all commands in
forest-cli
. Pain points include commands that aren't just RPC calls to the forest-daemon and wallet commands that demand much higher scrutiny — a deeper discussion happened here.Let's split
forest-cli
into three parts:forest-cli
: This executable is a human-friendly wrapper around the Forest RPC.forest-tool
: This executable handles tasks not involving the forest-daemon (such as downloading snapshots).forest-wallet
: This executable is a human-friendly wrapper around the Forest RPC. It's kept separate fromforest-cli
because it deals with sensitive data and the attack surface should be kept small. This will be the only executable that may access the store of private keys.Notes:
Sub-tasks:
forest-tool
forest-tool fetch-params
forest-tool config dump
forest-tool snapshot fetch
forest-tool snapshot validate
forest-tool archive info
forest-tool db clean
, side-note: Maybe this command should be renamed todb destroy
.forest-tool db stats
forest-tool snapshot fetch
forest-tool snapshot validate
forest-tool snapshot compress
forest-tool state diff
forest-tool archive info
forest-tool archive export
forest-tool archive checkpoints
forest-tool car concat
forest-cli
.forest-cli
.forest-wallet
forest-wallet send
forest-wallet new
forest-wallet balance
forest-wallet default
forest-wallet export
forest-wallet has
forest-wallet import
forest-wallet list
forest-wallet set-default
forest-wallet sign
forest-wallet verify
Other information and links
#2274
The text was updated successfully, but these errors were encountered: