Skip to content

Commit

Permalink
Add security warning to zcashd metrics display
Browse files Browse the repository at this point in the history
  • Loading branch information
Jay Graber committed Mar 24, 2017
1 parent efa9c26 commit 54c0a28
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/bitcoin-cli.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ static bool AppInitRPC(int argc, char* argv[])
ParseParameters(argc, argv);
if (argc<2 || mapArgs.count("-?") || mapArgs.count("-h") || mapArgs.count("-help") || mapArgs.count("-version")) {
std::string strUsage = _("Zcash RPC client version") + " " + FormatFullVersion() + "\n";
strUsage += "\n" + _("In order to ensure you are adequately protecting your privacy when using Zcash, please see https://z.cash/support/security.html") + "\n";
strUsage += "\n" + _("In order to ensure you are adequately protecting your privacy when using Zcash, please see https://z.cash/support/security/index.html") + "\n";
if (!mapArgs.count("-version")) {
strUsage += "\n" + _("Usage:") + "\n" +
" zcash-cli [options] <command> [params] " + _("Send command to Zcash") + "\n" +
Expand Down
4 changes: 4 additions & 0 deletions src/metrics.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -330,6 +330,10 @@ void ThreadShowMetricsScreen()
// Thank you text
std::cout << _("Thank you for running a Zcash node!") << std::endl;
std::cout << _("You're helping to strengthen the network and contributing to a social good :)") << std::endl;

// Security warning text
std::cout << std::endl;
std::cout << _("In order to ensure you are adequately protecting your privacy when using Zcash, please see https://z.cash/support/security/index.html") << std::endl;
std::cout << std::endl;
}

Expand Down

0 comments on commit 54c0a28

Please sign in to comment.