forked from zcash/zcash
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Auto merge of zcash#1655 - ebfull:fix-bitcoin-strings, r=daira
Change some Bitcoin strings to Zcash strings. This addresses most of the user-facing ones (in help messages for example), thread names, but avoids things like tests and datastructure names. **I slopped this together in a rush. Review it carefully!**
- Loading branch information
Showing
7 changed files
with
71 additions
and
71 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -623,16 +623,16 @@ void StartRPCThreads() | |
unsigned char rand_pwd[32]; | ||
GetRandBytes(rand_pwd, 32); | ||
uiInterface.ThreadSafeMessageBox(strprintf( | ||
_("To use bitcoind, or the -server option to bitcoin-qt, you must set an rpcpassword in the configuration file:\n" | ||
_("To use zcashd you must set an rpcpassword in the configuration file:\n" | ||
"%s\n" | ||
"It is recommended you use the following random password:\n" | ||
"rpcuser=bitcoinrpc\n" | ||
"rpcuser=zcashrpc\n" | ||
"rpcpassword=%s\n" | ||
"(you do not need to remember this password)\n" | ||
"The username and password MUST NOT be the same.\n" | ||
"If the file does not exist, create it with owner-readable-only file permissions.\n" | ||
"It is also recommended to set alertnotify so you are notified of problems;\n" | ||
"for example: alertnotify=echo %%s | mail -s \"Bitcoin Alert\" [email protected]\n"), | ||
"for example: alertnotify=echo %%s | mail -s \"Zcash Alert\" [email protected]\n"), | ||
GetConfigFile().string(), | ||
EncodeBase58(&rand_pwd[0],&rand_pwd[0]+32)), | ||
"", CClientUIInterface::MSG_ERROR | CClientUIInterface::SECURE); | ||
|
@@ -1068,7 +1068,7 @@ json_spirit::Value CRPCTable::execute(const std::string &strMethod, const json_s | |
} | ||
|
||
std::string HelpExampleCli(string methodname, string args){ | ||
return "> bitcoin-cli " + methodname + " " + args + "\n"; | ||
return "> zcash-cli " + methodname + " " + args + "\n"; | ||
} | ||
|
||
std::string HelpExampleRpc(string methodname, string args){ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.