Browse Source

Add security warning to zcashd metrics display

pull/4/head
Jay Graber 7 years ago
parent
commit
54c0a28123
  1. 2
      src/bitcoin-cli.cpp
  2. 4
      src/metrics.cpp

2
src/bitcoin-cli.cpp

@ -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" +

4
src/metrics.cpp

@ -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;
}

Loading…
Cancel
Save