Merge #556: Fix a few Bitcoin server strings

fa9841b5c Fix a few Bitcoin server strings (Gregory Sanders)

Pull request description:

  Resolves https://github.com/ElementsProject/elements/issues/555

Tree-SHA512: 810162d3ffce21e930f91b8a244a328e2f5f1fee1db45094a5f8d416adfdfea8516d4a936eaee6e5afd2e65ddf13980349a06a657a3941aba65798ee74824fc5
This commit is contained in:
Steven Roose 2019-04-03 20:55:16 +02:00
commit cb9f28cbc4
No known key found for this signature in database
GPG key ID: 7FC91380BB4CE800
2 changed files with 3 additions and 3 deletions

View file

@ -143,7 +143,7 @@ static bool AppInit(int argc, char* argv[])
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
#endif
fprintf(stdout, "Bitcoin server starting\n");
fprintf(stdout, "Elements server starting\n");
// Daemonize
if (daemon(1, 0)) { // don't chdir (1), do close FDs (0)

View file

@ -229,11 +229,11 @@ UniValue stop(const JSONRPCRequest& jsonRequest)
if (jsonRequest.fHelp || jsonRequest.params.size() > 1)
throw std::runtime_error(
"stop\n"
"\nStop Bitcoin server.");
"\nStop Elements server.");
// Event loop will exit after current HTTP requests have been handled, so
// this reply will get back to the client.
StartShutdown();
return "Bitcoin server stopping";
return "Elements server stopping";
}
static UniValue uptime(const JSONRPCRequest& jsonRequest)