-
Notifications
You must be signed in to change notification settings - Fork 75
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This commit fixes a few bugs with the politeiavoter config. - The correct defaults are added for the `walletgrpccert`, `clientcert`, `clientkey` settings. The defaults are now printed as part of the help message. Before ``` --walletgrpccert= Wallet GRPC certificate --clientcert= Path to TLS certificate for client authentication (default: client.pem) --clientkey= Path to TLS client authentication key (default: client-key.pem) ``` After ``` --walletgrpccert= Wallet GRPC certificate (default: /home/luke/.dcrwallet/rpc.cert) --clientcert= Path to TLS certificate for client authentication (default: /home/luke/.politeiavoter/client.pem) --clientkey= Path to TLS client authentication key (default: /home/luke/.politeiavoter/client-key.pem) ``` - The default `clientcert` and `clientkey` settings are updated if the `appdata` directory is manually set so that they use the provided `appdata` path. - The sample config is updated with the correct default values for the `walletgrpc`, `clientcert`, and `clientkey` settings. ---- Closes #1566.
- Loading branch information
Showing
2 changed files
with
44 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters