-
Notifications
You must be signed in to change notification settings - Fork 3
key generate-node-key #19
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
Conversation
turuslan
commented
Sep 22, 2025
- closes Node key generator #15
Signed-off-by: turuslan <[email protected]>
Signed-off-by: turuslan <[email protected]>
Signed-off-by: turuslan <[email protected]>
kamilsa
left a comment
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.
Maybe also rename lean_node to qlean?
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.
Pull Request Overview
Adds a new CLI subcommand to generate a node key and fixes a minor log message typo.
- Introduces lean_node key generate-node-key to output a Secp256k1 private key (hex) and PeerId (Base58)
- Fixes grammar in a log line and updates help output to list the new command
Reviewed Changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 7 comments.
| File | Description |
|---|---|
| src/modules/production/production.cpp | Fixes a typo in a log message string |
| src/executable/lean_node.cpp | Wires a new CLI subcommand and minimal argument parsing helper |
| src/executable/cmd_key_generate_node_key.hpp | Implements the key generation command (secp256k1 + PeerId) |
| src/app/configurator.cpp | Updates help output to mention the new subcommand |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
Signed-off-by: turuslan <[email protected]>
Signed-off-by: turuslan <[email protected]>
Signed-off-by: turuslan <[email protected]>