diff options
author | MarcoFalke <falke.marco@gmail.com> | 2019-04-03 12:17:55 -0400 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2019-04-03 12:17:58 -0400 |
commit | ba54342c9dd3f2e5cdeed9ac57f1924f0d885cc6 (patch) | |
tree | a635ad9e4eb2171011fd22abc31c99e755aa1a11 | |
parent | 2c364fde423e74b4e03ebcff4582a9db7a6c4e4b (diff) | |
parent | fa292adce95fd5b87f76d98059c3c6e74f1dde3a (diff) | |
download | bitcoin-ba54342c9dd3f2e5cdeed9ac57f1924f0d885cc6.tar.xz |
Merge #15685: doc: rpc-mining: Clarify error messages
fa292adce9 doc: rpc-mining: Clarify error messages (MarcoFalke)
Pull request description:
Fixes #13274
ACKs for commit fa292a:
fanquake:
tACK fa292ad
Tree-SHA512: 58946a52ce49b97c35cbf5eaa9175447a231690cb2bac0d39e5db524bdf2cbad274a905038aca270c080d5660f58176d43c01a22a8417c0f5b8276816939c1d6
-rw-r--r-- | src/rpc/mining.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rpc/mining.cpp b/src/rpc/mining.cpp index f2acb8fbf5..480d610235 100644 --- a/src/rpc/mining.cpp +++ b/src/rpc/mining.cpp @@ -444,10 +444,10 @@ static UniValue getblocktemplate(const JSONRPCRequest& request) throw JSONRPCError(RPC_CLIENT_P2P_DISABLED, "Error: Peer-to-peer functionality missing or disabled"); if (g_connman->GetNodeCount(CConnman::CONNECTIONS_ALL) == 0) - throw JSONRPCError(RPC_CLIENT_NOT_CONNECTED, "Bitcoin is not connected!"); + throw JSONRPCError(RPC_CLIENT_NOT_CONNECTED, PACKAGE_NAME " is not connected!"); if (IsInitialBlockDownload()) - throw JSONRPCError(RPC_CLIENT_IN_INITIAL_DOWNLOAD, "Bitcoin is downloading blocks..."); + throw JSONRPCError(RPC_CLIENT_IN_INITIAL_DOWNLOAD, PACKAGE_NAME " is in initial sync and waiting for blocks..."); static unsigned int nTransactionsUpdatedLast; |