- D68207833444EA7D6F91BC579CB5543121F9F5BB90A72B713CCA1D90A453BCA3A4E660AFE66E836FD8AD1E3E21EE322ECD54114FC541FB30924EBBB0D6544A41
+ 2A962F65FD9A55BFD5DB5ED17A95D57EC009905436EB550BCDA1C6A024935F1C88B62D509A4C5AC3DDDA00970412BFBA71AAE29F389C191AF22C2F1DCF758C07
bitcoin/src/init.cpp
(160 . 7)(160 . 6)
5 " -datadir=<dir> \t\t " + _("Specify data directory\n") +
6 " -timeout=<n> \t " + _("Specify connection timeout (in milliseconds)\n") +
7 " -proxy=<ip:port> \t " + _("Connect through socks4 proxy\n") +
8 " -dns \t " + _("Allow DNS lookups for addnode and connect\n") +
9 " -port=<port> \t\t " + _("Listen for connections on <port> (default: 8333 or testnet: 18333)\n") +
10 " -maxconnections=<n>\t " + _("Maintain at most <n> connections to peers (default: 125)\n") +
11 " -addnode=<ip> \t " + _("Add a node to connect to\n") +
(414 . 10)(413 . 8)
13 // Note: the GetBoolArg() calls for all of these must happen later.
14 SoftSetArg("-nolisten", true);
15 SoftSetArg("-noirc", true);
16 SoftSetArg("-dns", false);
17 }
18
19 fAllowDNS = GetBoolArg("-dns");
20 fNoListen = GetBoolArg("-nolisten");
21
22 // Command-line args override in-wallet settings:
(435 . 7)(432 . 7)
24 {
25 BOOST_FOREACH(string strAddr, mapMultiArgs["-addnode"])
26 {
27 CAddress addr(strAddr, fAllowDNS);
28 CAddress addr(strAddr);
29 addr.nTime = 0; // so it won't relay unless successfully connected
30 if (addr.IsValid())
31 AddAddress(addr);