mirror of
https://github.com/dogecoin/dogecoin.git
synced 2026-03-02 09:06:01 +00:00
RPC security tweaks
This commit is contained in:
parent
caebe98774
commit
9a4b221f09
@ -1,7 +1,3 @@
|
||||
rpcuser=doge
|
||||
rpcpassword=wow
|
||||
rpcport=22555
|
||||
|
||||
addnode=95.85.29.144
|
||||
addnode=162.243.113.110
|
||||
addnode=146.185.181.114
|
||||
|
||||
@ -731,7 +731,6 @@ static void RPCAcceptHandler(boost::shared_ptr< basic_socket_acceptor<Protocol,
|
||||
|
||||
// Rough check of password strength based on 0-order entropy.
|
||||
// Should work for both passwords and phrases without any complicated rules.
|
||||
// -- orezpraw, Jan 5, 2014
|
||||
static int weakPassword(std::string passwd)
|
||||
{
|
||||
char i;
|
||||
@ -763,7 +762,7 @@ void StartRPCThreads()
|
||||
else if (mapArgs.count("-daemon"))
|
||||
strWhatAmI = strprintf(_("To use the %s option"), "\"-daemon\"");
|
||||
uiInterface.ThreadSafeMessageBox(strprintf(
|
||||
_("%s, you must set a long rpcpassword in the configuration file:\n"
|
||||
_("%s, you must set a secure rpcpassword in the configuration file:\n"
|
||||
"%s\n"
|
||||
"It is recommended you use the following random password:\n"
|
||||
"rpcuser=dogecoinrpc\n"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user