-
Notifications
You must be signed in to change notification settings - Fork 649
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Issue1011, Add CLI startup option to only generate keys #1039
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. Thanks!
programs/cli_wallet/main.cpp
Outdated
@@ -86,6 +86,7 @@ int main( int argc, char** argv ) | |||
("daemon,d", "Run the wallet in daemon mode" ) | |||
("wallet-file,w", bpo::value<string>()->implicit_value("wallet.json"), "wallet to load") | |||
("chain-id", bpo::value<string>(), "chain ID to connect to") | |||
("suggest-brain-key", "Suggest a safe brain key to use for craeting your account") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Typo: craeting
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ah oh.. thanks~ fixed
Prior to merge, may I request of @cifer-lee on #1011:
|
@ryanRfox although having test cases for everything would be a nice thing, it comes with costs. IMHO we can skip test case here, and put efforts elsewhere, for better use. |
@ryanRfox I'd like to get this merged, but I don't want to forget about the documentation part. What is the best way to make sure that it gets documented? Merge and close this PR, but keep the issue opened? |
@jmjatlanta create a new issue for documentation. |
I think we can also move the request for documentation to the issue but not leave it here. |
fix #1011
For code reuse, i moved origin
wallet_api::suggest_brain_key
's code intographene::wallet::utility
to make it static method.self test ok.