mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-15 12:51:00 +02:00
Look for flushwallet/listen/irc/dnsseed/upnp instead of noflushwallet/etc. And switch default for irc to 0.
This commit is contained in:
parent
3ad9f8a70f
commit
9d952d17bb
4 changed files with 19 additions and 18 deletions
|
|
@ -200,7 +200,7 @@ bool GetMyExternalIP(CNetAddr& ipRet)
|
|||
void ThreadGetMyExternalIP(void* parg)
|
||||
{
|
||||
// Wait for IRC to get it first
|
||||
if (!GetBoolArg("-noirc"))
|
||||
if (GetBoolArg("-irc", false))
|
||||
{
|
||||
for (int i = 0; i < 2 * 60; i++)
|
||||
{
|
||||
|
|
@ -1706,7 +1706,7 @@ void StartNode(void* parg)
|
|||
// Start threads
|
||||
//
|
||||
|
||||
if (GetBoolArg("-nodnsseed"))
|
||||
if (!GetBoolArg("-dnsseed", true))
|
||||
printf("DNS seeding disabled\n");
|
||||
else
|
||||
if (!CreateThread(ThreadDNSAddressSeed, NULL))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue