Add security warning to zcashd metrics display
This commit is contained in:
parent
efa9c265c4
commit
54c0a28123
|
@ -65,7 +65,7 @@ static bool AppInitRPC(int argc, char* argv[])
|
||||||
ParseParameters(argc, argv);
|
ParseParameters(argc, argv);
|
||||||
if (argc<2 || mapArgs.count("-?") || mapArgs.count("-h") || mapArgs.count("-help") || mapArgs.count("-version")) {
|
if (argc<2 || mapArgs.count("-?") || mapArgs.count("-h") || mapArgs.count("-help") || mapArgs.count("-version")) {
|
||||||
std::string strUsage = _("Zcash RPC client version") + " " + FormatFullVersion() + "\n";
|
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")) {
|
if (!mapArgs.count("-version")) {
|
||||||
strUsage += "\n" + _("Usage:") + "\n" +
|
strUsage += "\n" + _("Usage:") + "\n" +
|
||||||
" zcash-cli [options] <command> [params] " + _("Send command to Zcash") + "\n" +
|
" zcash-cli [options] <command> [params] " + _("Send command to Zcash") + "\n" +
|
||||||
|
|
|
@ -330,6 +330,10 @@ void ThreadShowMetricsScreen()
|
||||||
// Thank you text
|
// Thank you text
|
||||||
std::cout << _("Thank you for running a Zcash node!") << std::endl;
|
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;
|
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;
|
std::cout << std::endl;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue