Add security warning to zcashd metrics display

This commit is contained in:
Jay Graber 2017-03-23 18:13:37 -07:00
parent efa9c265c4
commit 54c0a28123
2 changed files with 5 additions and 1 deletions

View File

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

View File

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