@@ -418,10 +418,10 @@ Value stop(const Array& params, bool fHelp)
418418 if (fHelp || params.size () != 0 )
419419 throw runtime_error (
420420 " stop\n "
421- " Stop bitcoin server." );
421+ " Stop Bitcoin server." );
422422 // Shutdown will take long enough that the response should get back
423423 QueueShutdown ();
424- return " bitcoin server stopping" ;
424+ return " Bitcoin server stopping" ;
425425}
426426
427427
@@ -562,7 +562,7 @@ Value getnewaddress(const Array& params, bool fHelp)
562562 if (fHelp || params.size () > 1 )
563563 throw runtime_error (
564564 " getnewaddress [account]\n "
565- " Returns a new bitcoin address for receiving payments. "
565+ " Returns a new Bitcoin address for receiving payments. "
566566 " If [account] is specified (recommended), it is added to the address book "
567567 " so payments received with the address will be credited to [account]." );
568568
@@ -629,7 +629,7 @@ Value getaccountaddress(const Array& params, bool fHelp)
629629 if (fHelp || params.size () != 1 )
630630 throw runtime_error (
631631 " getaccountaddress <account>\n "
632- " Returns the current bitcoin address for receiving payments to this account." );
632+ " Returns the current Bitcoin address for receiving payments to this account." );
633633
634634 // Parse the account first so we don't generate a key if there's an error
635635 string strAccount = AccountFromValue (params[0 ]);
@@ -652,7 +652,7 @@ Value setaccount(const Array& params, bool fHelp)
652652
653653 CBitcoinAddress address (params[0 ].get_str ());
654654 if (!address.IsValid ())
655- throw JSONRPCError (-5 , " Invalid bitcoin address" );
655+ throw JSONRPCError (-5 , " Invalid Bitcoin address" );
656656
657657
658658 string strAccount;
@@ -682,7 +682,7 @@ Value getaccount(const Array& params, bool fHelp)
682682
683683 CBitcoinAddress address (params[0 ].get_str ());
684684 if (!address.IsValid ())
685- throw JSONRPCError (-5 , " Invalid bitcoin address" );
685+ throw JSONRPCError (-5 , " Invalid Bitcoin address" );
686686
687687 string strAccount;
688688 map<CBitcoinAddress, string>::iterator mi = pwalletMain->mapAddressBook .find (address);
@@ -743,7 +743,7 @@ Value sendtoaddress(const Array& params, bool fHelp)
743743
744744 CBitcoinAddress address (params[0 ].get_str ());
745745 if (!address.IsValid ())
746- throw JSONRPCError (-5 , " Invalid bitcoin address" );
746+ throw JSONRPCError (-5 , " Invalid Bitcoin address" );
747747
748748 // Amount
749749 int64 nAmount = AmountFromValue (params[1 ]);
@@ -841,7 +841,7 @@ Value getreceivedbyaddress(const Array& params, bool fHelp)
841841 CBitcoinAddress address = CBitcoinAddress (params[0 ].get_str ());
842842 CScript scriptPubKey;
843843 if (!address.IsValid ())
844- throw JSONRPCError (-5 , " Invalid bitcoin address" );
844+ throw JSONRPCError (-5 , " Invalid Bitcoin address" );
845845 scriptPubKey.SetBitcoinAddress (address);
846846 if (!IsMine (*pwalletMain,scriptPubKey))
847847 return (double )0.0 ;
@@ -1067,7 +1067,7 @@ Value sendfrom(const Array& params, bool fHelp)
10671067 string strAccount = AccountFromValue (params[0 ]);
10681068 CBitcoinAddress address (params[1 ].get_str ());
10691069 if (!address.IsValid ())
1070- throw JSONRPCError (-5 , " Invalid bitcoin address" );
1070+ throw JSONRPCError (-5 , " Invalid Bitcoin address" );
10711071 int64 nAmount = AmountFromValue (params[2 ]);
10721072 int nMinDepth = 1 ;
10731073 if (params.size () > 3 )
@@ -1128,7 +1128,7 @@ Value sendmany(const Array& params, bool fHelp)
11281128 {
11291129 CBitcoinAddress address (s.name_ );
11301130 if (!address.IsValid ())
1131- throw JSONRPCError (-5 , string (" Invalid bitcoin address:" )+s.name_ );
1131+ throw JSONRPCError (-5 , string (" Invalid Bitcoin address:" )+s.name_ );
11321132
11331133 if (setAddress.count (address))
11341134 throw JSONRPCError (-8 , string (" Invalid parameter, duplicated address: " )+s.name_ );
@@ -1172,7 +1172,7 @@ Value addmultisigaddress(const Array& params, bool fHelp)
11721172 {
11731173 string msg = " addmultisigaddress <nrequired> <'[\" key\" ,\" key\" ]'> [account]\n "
11741174 " Add a nrequired-to-sign multisignature address to the wallet\"\n "
1175- " each key is a bitcoin address or hex-encoded public key\n "
1175+ " each key is a Bitcoin address or hex-encoded public key\n "
11761176 " If [account] is specified, assign address to [account]." ;
11771177 throw runtime_error (msg);
11781178 }
@@ -1196,7 +1196,7 @@ Value addmultisigaddress(const Array& params, bool fHelp)
11961196 {
11971197 const std::string& ks = keys[i].get_str ();
11981198
1199- // Case 1: bitcoin address and we have full public key:
1199+ // Case 1: Bitcoin address and we have full public key:
12001200 CBitcoinAddress address (ks);
12011201 if (address.IsValid ())
12021202 {
@@ -1933,7 +1933,7 @@ Value encryptwallet(const Array& params, bool fHelp)
19331933 // slack space in .dat files; that is bad if the old data is
19341934 // unencrypted private keys. So:
19351935 QueueShutdown ();
1936- return " wallet encrypted; bitcoin server stopping, restart to run with encrypted wallet" ;
1936+ return " wallet encrypted; Bitcoin server stopping, restart to run with encrypted wallet" ;
19371937}
19381938
19391939
0 commit comments