From 54c0a2812300408c11b162885378608269e5a262 Mon Sep 17 00:00:00 2001 From: Jay Graber Date: Thu, 23 Mar 2017 18:13:37 -0700 Subject: [PATCH] Add security warning to zcashd metrics display --- src/bitcoin-cli.cpp | 2 +- src/metrics.cpp | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/bitcoin-cli.cpp b/src/bitcoin-cli.cpp index 868bf3c66..52f4be4e4 100644 --- a/src/bitcoin-cli.cpp +++ b/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] [params] " + _("Send command to Zcash") + "\n" + diff --git a/src/metrics.cpp b/src/metrics.cpp index b63fd16ea..fda94788e 100644 --- a/src/metrics.cpp +++ b/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; }