diff options
author | Jon Atack <jon@atack.com> | 2019-07-27 16:28:48 +0200 |
---|---|---|
committer | Jon Atack <jon@atack.com> | 2019-08-01 20:30:04 +0200 |
commit | e90478f43e7bf9726ba033fde4a2776f9d5a9af4 (patch) | |
tree | 654c52872313ccb2979cc74a7594022cc0a82a12 /src/rpc | |
parent | e653eeff7651d823407e2e31a89176cc0b240c62 (diff) | |
download | bitcoin-e90478f43e7bf9726ba033fde4a2776f9d5a9af4.tar.xz |
log: harmonize bitcoind server logging
Harmonize the user-facing output of the `bitcoind -daemon`, `bitcoin-cli help stop`, `bitcoin-cli stop`, and `bitcoind -version` commands to be consistent with each other as well as with the "Bitcoin Core is probably already running" messages, e.g. `git grep 'probably already running.")'`.
Diffstat (limited to 'src/rpc')
-rw-r--r-- | src/rpc/server.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rpc/server.cpp b/src/rpc/server.cpp index 18f7426bcf..3e5bb85c1c 100644 --- a/src/rpc/server.cpp +++ b/src/rpc/server.cpp @@ -162,7 +162,7 @@ UniValue stop(const JSONRPCRequest& jsonRequest) if (jsonRequest.fHelp || jsonRequest.params.size() > 1) throw std::runtime_error( RPCHelpMan{"stop", - "\nStop Bitcoin server.", + "\nRequest a graceful shutdown of " PACKAGE_NAME ".", {}, RPCResults{}, RPCExamples{""}, @@ -173,7 +173,7 @@ UniValue stop(const JSONRPCRequest& jsonRequest) if (jsonRequest.params[0].isNum()) { MilliSleep(jsonRequest.params[0].get_int()); } - return "Bitcoin server stopping"; + return PACKAGE_NAME " stopping"; } static UniValue uptime(const JSONRPCRequest& jsonRequest) |