Skip to content

Conversation

@halibobo1205
Copy link
Contributor

@halibobo1205 halibobo1205 commented Sep 10, 2025

What does this PR do?
Rename --keystore parameter to --keystore-factory, pre-PR: #6397.
Why are these changes required?

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.

This PR has been tested by:

  • Unit Tests
  • Manual Testing

Follow up

Extra details

Copy link
Contributor

@waynercheung waynercheung left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

@BlueHoopor BlueHoopor left a 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".

@halibobo1205 halibobo1205 force-pushed the feat/command_opt branch 2 times, most recently from 812259a to ae5d63e Compare September 11, 2025 05:27
@halibobo1205 halibobo1205 changed the title refactor(keystoreFactory): rename --keystore parameter to --keystoreFactory refactor(cli): change newly added "--keystore" parameter to "--keystore-factory" Sep 11, 2025
@halibobo1205 halibobo1205 changed the title refactor(cli): change newly added "--keystore" parameter to "--keystore-factory" feat(cli): change newly added "--keystore" parameter to "--keystore-factory" Sep 11, 2025
@halibobo1205
Copy link
Contributor Author

The parameter names should maintain a consistent naming style. It should be changed from "--keystoreFactory" to "--keystore-factory".

done.

@halibobo1205 halibobo1205 changed the title feat(cli): change newly added "--keystore" parameter to "--keystore-factory" feat(command): change newly added "--keystore" parameter to "--keystore-factory" Sep 12, 2025
…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.
@kuny0707 kuny0707 merged commit 68773e3 into tronprotocol:release_v4.8.1 Sep 15, 2025
7 checks passed
@kuny0707 kuny0707 linked an issue Sep 15, 2025 that may be closed by this pull request
@kuny0707 kuny0707 moved this to Done in java-tron Sep 15, 2025
halibobo1205 added a commit to halibobo1205/java-tron that referenced this pull request Oct 14, 2025
…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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Enrich FullNode command-line-options

9 participants