diff options
| author | MarcoFalke <[email protected]> | 2019-03-28 09:21:47 -0400 |
|---|---|---|
| committer | MarcoFalke <[email protected]> | 2019-03-28 09:35:32 -0400 |
| commit | fa292adce95fd5b87f76d98059c3c6e74f1dde3a (patch) | |
| tree | 08f2000debcb724228bcf7082c351237070aaaa1 /src/rpc/mining.cpp | |
| parent | Merge #15620: rpc: Uncouple non-wallet rpcs from maxTxFee global (diff) | |
| download | discoin-fa292adce95fd5b87f76d98059c3c6e74f1dde3a.tar.xz discoin-fa292adce95fd5b87f76d98059c3c6e74f1dde3a.zip | |
doc: rpc-mining: Clarify error messages
Diffstat (limited to 'src/rpc/mining.cpp')
| -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 f2acb8fbf..480d61023 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; |