From b30900a54bdaed5a5fbe7d5ea1cc072a405b762d Mon Sep 17 00:00:00 2001 From: Jason Davies Date: Fri, 21 Jul 2017 09:18:09 +0100 Subject: [PATCH] Replace "bitcoin" with "Zcash". --- src/crypto/common.h | 2 +- src/httpserver.cpp | 4 ++-- src/net.cpp | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/crypto/common.h b/src/crypto/common.h index 5d5027ada..ad4c6dd5e 100644 --- a/src/crypto/common.h +++ b/src/crypto/common.h @@ -16,7 +16,7 @@ #include "compat/endian.h" #if defined(NDEBUG) -# error "Bitcoin cannot be compiled without assertions." +# error "Zcash cannot be compiled without assertions." #endif uint16_t static inline ReadLE16(const unsigned char* ptr) diff --git a/src/httpserver.cpp b/src/httpserver.cpp index 4215a0f26..9c033e415 100644 --- a/src/httpserver.cpp +++ b/src/httpserver.cpp @@ -267,7 +267,7 @@ static void http_request_cb(struct evhttp_request* req, void* arg) /** Event dispatcher thread */ static void ThreadHTTP(struct event_base* base, struct evhttp* http) { - RenameThread("bitcoin-http"); + RenameThread("zcash-http"); LogPrint("http", "Entering http event loop\n"); event_base_dispatch(base); // Event loop will be interrupted by InterruptHTTPServer() @@ -316,7 +316,7 @@ static bool HTTPBindAddresses(struct evhttp* http) /** Simple wrapper to set thread name and run work queue */ static void HTTPWorkQueueRun(WorkQueue* queue) { - RenameThread("bitcoin-httpworker"); + RenameThread("zcash-httpworker"); queue->Run(); } diff --git a/src/net.cpp b/src/net.cpp index 7a40d97d6..05f427707 100644 --- a/src/net.cpp +++ b/src/net.cpp @@ -1636,7 +1636,7 @@ bool BindListenPort(const CService &addrBind, string& strError, bool fWhiteliste { int nErr = WSAGetLastError(); if (nErr == WSAEADDRINUSE) - strError = strprintf(_("Unable to bind to %s on this computer. Bitcoin Core is probably already running."), addrBind.ToString()); + strError = strprintf(_("Unable to bind to %s on this computer. Zcash is probably already running."), addrBind.ToString()); else strError = strprintf(_("Unable to bind to %s on this computer (bind returned error %s)"), addrBind.ToString(), NetworkErrorString(nErr)); LogPrintf("%s\n", strError);