-
Notifications
You must be signed in to change notification settings - Fork 1.6k
feat(command): change newly added "--keystore" parameter to "--keystore-factory" #6446
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
feat(command): change newly added "--keystore" parameter to "--keystore-factory" #6446
Conversation
2aa702a to
76bbaf5
Compare
waynercheung
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.
LGTM
BlueHoopor
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.
The parameter names should maintain a consistent naming style. It should be changed from "--keystoreFactory" to "--keystore-factory".
812259a to
ae5d63e
Compare
ae5d63e to
f403110
Compare
done. |
common/src/main/java/org/tron/common/parameter/CommonParameter.java
Outdated
Show resolved
Hide resolved
…actory" The "--keystore" parameter name could be misleading, as it typically refers to encrypted key storage files or wallets, while this parameter actually runs a KeystoreFactory. The new name "--keystore-factory" makes the parameter's purpose more explicit and avoids potential confusion.
f403110 to
38679b7
Compare
…actory" (tronprotocol#6446) The "--keystore" parameter name could be misleading, as it typically refers to encrypted key storage files or wallets, while this parameter actually runs a KeystoreFactory. The new name "--keystore-factory" makes the parameter's purpose more explicit and avoids potential confusion.
What does this PR do?
Rename
--keystoreparameter to--keystore-factory, pre-PR: #6397.Why are these changes required?
The
--keystoreparameter name could be misleading, as it typically refers to encrypted key storage files or wallets, while this parameter actually runs a KeystoreFactory. The new name--keystore-factorymakes the parameter's purpose more explicit and avoids potential confusion.This PR has been tested by:
Follow up
Extra details