(164 . 6)(164 . 8)
5 " -port=<port> \t\t " + _("Listen for connections on <port> (default: 8333)\n") +
6 " -maxconnections=<n>\t " + _("Maintain at most <n> connections to peers (default: 125)\n") +
7 " -myip=<ip> \t " + _("Set this node's external IP address.\n") +
8 " -addwire=<ip> \t " + _("Add a hardwired node to connect to\n") +
9 " -wirerefresh=<ip>\t " + _("Interval for refreshing wires.\n") +
10 " -addnode=<ip> \t " + _("Add a node to connect to\n") +
11 " -connect=<ip> \t\t " + _("Connect only to the specified node\n") +
12 " -nolisten \t " + _("Don't accept connections from outside\n") +
(452 . 6)(454 . 24)
14 }
15 }
16
17 if (mapArgs.count("-wirerefresh"))
18 {
19 wireRefresh = atoi(mapArgs["-wirerefresh"]);
20 }
21
22
23 if (mapArgs.count("-addwire"))
24 {
25 BOOST_FOREACH(string strAddr, mapMultiArgs["-addwire"])
26 {
27 CAddress addr(strAddr);
28 if (addr.IsValid()) {
29 AddWire(addr);
30 fWires = true;
31 }
32 }
33 }
34
35 if (mapArgs.count("-addnode"))
36 {
37 BOOST_FOREACH(string strAddr, mapMultiArgs["-addnode"])