@@ -43,7 +43,7 @@ void ThreadRPCServer3(void* parg);
4343
4444static inline unsigned short GetDefaultRPCPort ()
4545{
46- return GetBoolArg (" -testnet" , false ) ? 18344 : 8344 ;
46+ return GetBoolArg (" -testnet" , false ) ? 25299 : 15299 ;
4747}
4848
4949Object JSONRPCError (int code, const string& message)
@@ -219,12 +219,12 @@ Value stop(const Array& params, bool fHelp)
219219 throw runtime_error (
220220 " stop <detach>\n "
221221 " <detach> is true or false to detach the database or not for this stop only\n "
222- " Stop NovaCoin server (and possibly override the detachdb config value)." );
222+ " Stop Orbitcoin server (and possibly override the detachdb config value)." );
223223 // Shutdown will take long enough that the response should get back
224224 if (params.size () > 0 )
225225 bitdb.SetDetach (params[0 ].get_bool ());
226226 StartShutdown ();
227- return " NovaCoin server stopping" ;
227+ return " Orbitcoin server stopping" ;
228228}
229229
230230
@@ -340,7 +340,7 @@ string HTTPPost(const string& strMsg, const map<string,string>& mapRequestHeader
340340{
341341 ostringstream s;
342342 s << " POST / HTTP/1.1\r\n "
343- << " User-Agent: novacoin -json-rpc/" << FormatFullVersion () << " \r\n "
343+ << " User-Agent: orbitcoin -json-rpc/" << FormatFullVersion () << " \r\n "
344344 << " Host: 127.0.0.1\r\n "
345345 << " Content-Type: application/json\r\n "
346346 << " Content-Length: " << strMsg.size () << " \r\n "
@@ -371,7 +371,7 @@ static string HTTPReply(int nStatus, const string& strMsg, bool keepalive)
371371 if (nStatus == HTTP_UNAUTHORIZED)
372372 return strprintf (" HTTP/1.0 401 Authorization Required\r\n "
373373 " Date: %s\r\n "
374- " Server: novacoin -json-rpc/%s\r\n "
374+ " Server: orbitcoin -json-rpc/%s\r\n "
375375 " WWW-Authenticate: Basic realm=\" jsonrpc\"\r\n "
376376 " Content-Type: text/html\r\n "
377377 " Content-Length: 296\r\n "
@@ -398,7 +398,7 @@ static string HTTPReply(int nStatus, const string& strMsg, bool keepalive)
398398 " Connection: %s\r\n "
399399 " Content-Length: %" PRIszu" \r\n "
400400 " Content-Type: application/json\r\n "
401- " Server: novacoin -json-rpc/%s\r\n "
401+ " Server: orbitcoin -json-rpc/%s\r\n "
402402 " \r\n "
403403 " %s" ,
404404 nStatus,
@@ -669,7 +669,7 @@ class AcceptedConnectionImpl : public AcceptedConnection
669669void ThreadRPCServer (void * parg)
670670{
671671 // Make this thread recognisable as the RPC listener
672- RenameThread (" bitcoin -rpclist" );
672+ RenameThread (" orb -rpclist" );
673673
674674 try
675675 {
@@ -772,15 +772,15 @@ void ThreadRPCServer2(void* parg)
772772 {
773773 unsigned char rand_pwd[32 ];
774774 RAND_bytes (rand_pwd, 32 );
775- string strWhatAmI = " To use novacoind " ;
775+ string strWhatAmI = " To use orbitcoind " ;
776776 if (mapArgs.count (" -server" ))
777777 strWhatAmI = strprintf (_ (" To use the %s option" ), " \" -server\" " );
778778 else if (mapArgs.count (" -daemon" ))
779779 strWhatAmI = strprintf (_ (" To use the %s option" ), " \" -daemon\" " );
780780 uiInterface.ThreadSafeMessageBox (strprintf (
781781 _ (" %s, you must set a rpcpassword in the configuration file:\n %s\n "
782782 " It is recommended you use the following random password:\n "
783- " rpcuser=bitcoinrpc \n "
783+ " rpcuser=orbitcoinrpc \n "
784784 " rpcpassword=%s\n "
785785 " (you do not need to remember this password)\n "
786786 " If the file does not exist, create it with owner-readable-only file permissions.\n " ),
@@ -969,7 +969,7 @@ static CCriticalSection cs_THREAD_RPCHANDLER;
969969void ThreadRPCServer3 (void * parg)
970970{
971971 // Make this thread recognisable as the RPC handler
972- RenameThread (" bitcoin -rpchand" );
972+ RenameThread (" orb -rpchand" );
973973
974974 {
975975 LOCK (cs_THREAD_RPCHANDLER);
0 commit comments