mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-18 13:17:55 +02:00
Fix a few Bitcoin server strings
This commit is contained in:
parent
a904f02fb1
commit
fa9841b5cf
2 changed files with 3 additions and 3 deletions
|
|
@ -143,7 +143,7 @@ static bool AppInit(int argc, char* argv[])
|
||||||
#pragma GCC diagnostic push
|
#pragma GCC diagnostic push
|
||||||
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
||||||
#endif
|
#endif
|
||||||
fprintf(stdout, "Bitcoin server starting\n");
|
fprintf(stdout, "Elements server starting\n");
|
||||||
|
|
||||||
// Daemonize
|
// Daemonize
|
||||||
if (daemon(1, 0)) { // don't chdir (1), do close FDs (0)
|
if (daemon(1, 0)) { // don't chdir (1), do close FDs (0)
|
||||||
|
|
|
||||||
|
|
@ -229,11 +229,11 @@ UniValue stop(const JSONRPCRequest& jsonRequest)
|
||||||
if (jsonRequest.fHelp || jsonRequest.params.size() > 1)
|
if (jsonRequest.fHelp || jsonRequest.params.size() > 1)
|
||||||
throw std::runtime_error(
|
throw std::runtime_error(
|
||||||
"stop\n"
|
"stop\n"
|
||||||
"\nStop Bitcoin server.");
|
"\nStop Elements server.");
|
||||||
// Event loop will exit after current HTTP requests have been handled, so
|
// Event loop will exit after current HTTP requests have been handled, so
|
||||||
// this reply will get back to the client.
|
// this reply will get back to the client.
|
||||||
StartShutdown();
|
StartShutdown();
|
||||||
return "Bitcoin server stopping";
|
return "Elements server stopping";
|
||||||
}
|
}
|
||||||
|
|
||||||
static UniValue uptime(const JSONRPCRequest& jsonRequest)
|
static UniValue uptime(const JSONRPCRequest& jsonRequest)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue