diff options
| author | Ross Nicoll <[email protected]> | 2015-08-01 11:44:25 +0100 |
|---|---|---|
| committer | J Ross Nicoll <[email protected]> | 2015-10-31 14:49:39 +0000 |
| commit | 5731f4f3c6dff84d6c5264954ba15e5b991abe38 (patch) | |
| tree | 0e162847a682e9074ec7fd9598c3d28b4768b858 /src/rpcprotocol.cpp | |
| parent | Introduce basic Dogecoin branding (diff) | |
| download | discoin-5731f4f3c6dff84d6c5264954ba15e5b991abe38.tar.xz discoin-5731f4f3c6dff84d6c5264954ba15e5b991abe38.zip | |
Update Bitcoin references and addresses in strings to Dogecoin equivalents
Diffstat (limited to 'src/rpcprotocol.cpp')
| -rw-r--r-- | src/rpcprotocol.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/rpcprotocol.cpp b/src/rpcprotocol.cpp index 95d6b9e53..b17e02426 100644 --- a/src/rpcprotocol.cpp +++ b/src/rpcprotocol.cpp @@ -42,7 +42,7 @@ string HTTPPost(const string& strMsg, const map<string,string>& mapRequestHeader { ostringstream s; s << "POST / HTTP/1.1\r\n" - << "User-Agent: bitcoin-json-rpc/" << FormatFullVersion() << "\r\n" + << "User-Agent: dogecoin-json-rpc/" << FormatFullVersion() << "\r\n" << "Host: 127.0.0.1\r\n" << "Content-Type: application/json\r\n" << "Content-Length: " << strMsg.size() << "\r\n" @@ -77,7 +77,7 @@ string HTTPError(int nStatus, bool keepalive, bool headersOnly) if (nStatus == HTTP_UNAUTHORIZED) return strprintf("HTTP/1.0 401 Authorization Required\r\n" "Date: %s\r\n" - "Server: bitcoin-json-rpc/%s\r\n" + "Server: dogecoin-json-rpc/%s\r\n" "WWW-Authenticate: Basic realm=\"jsonrpc\"\r\n" "Content-Type: text/html\r\n" "Content-Length: 296\r\n" @@ -104,7 +104,7 @@ string HTTPReplyHeader(int nStatus, bool keepalive, size_t contentLength, const "Connection: %s\r\n" "Content-Length: %u\r\n" "Content-Type: %s\r\n" - "Server: bitcoin-json-rpc/%s\r\n" + "Server: dogecoin-json-rpc/%s\r\n" "\r\n", nStatus, httpStatusDescription(nStatus), |