Browse Source

update security link

pull/55/head
Jonathan "Duke" Leto 7 years ago
parent
commit
8a1c49fd3b
  1. 7
      src/rpcmining.cpp
  2. 4
      src/util.cpp

7
src/rpcmining.cpp

@ -1,5 +1,6 @@
// Copyright (c) 2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 The Bitcoin Core developers
// Copyright (c) 2017 The Hush developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
@ -550,13 +551,13 @@ UniValue getblocktemplate(const UniValue& params, bool fHelp)
}
if (strMode != "template")
throw JSONRPCError(RPC_INVALID_PARAMETER, "Invalid mode");
throw JSONRPCError(RPC_INVALID_PARAMETER, "Invalid mode!");
if (vNodes.empty())
throw JSONRPCError(RPC_CLIENT_NOT_CONNECTED, "Zcash is not connected!");
throw JSONRPCError(RPC_CLIENT_NOT_CONNECTED, "Hush is not connected!");
if (IsInitialBlockDownload())
throw JSONRPCError(RPC_CLIENT_IN_INITIAL_DOWNLOAD, "Zcash is downloading blocks...");
throw JSONRPCError(RPC_CLIENT_IN_INITIAL_DOWNLOAD, "Hush is downloading blocks, be patient please...");
static unsigned int nTransactionsUpdatedLast;

4
src/util.cpp

@ -892,8 +892,8 @@ void SetThreadPriority(int nPriority)
std::string PrivacyInfo()
{
return "\n" +
FormatParagraph(strprintf(_("In order to ensure you are adequately protecting your privacy when using Zcash, please see <%s>."),
"https://z.cash/support/security/index.html")) + "\n";
FormatParagraph(strprintf(_("In order to ensure you are adequately protecting your privacy when using Hush, please see <%s>."),
"https://github.com/MyHush/hush/blob/master/doc/security.md")) + "\n";
}
std::string LicenseInfo()

Loading…
Cancel
Save