|
|
@ -349,10 +349,12 @@ int main(int argc, char **argv) { |
|
|
|
setbuf(stdout, NULL); |
|
|
|
setbuf(stdout, NULL); |
|
|
|
CDnsSeedOpts opts; |
|
|
|
CDnsSeedOpts opts; |
|
|
|
opts.ParseCommandLine(argc, argv); |
|
|
|
opts.ParseCommandLine(argc, argv); |
|
|
|
CService service(opts.tor, 9050); |
|
|
|
if (opts.tor) { |
|
|
|
if (service.IsValid()) { |
|
|
|
CService service(opts.tor, 9050); |
|
|
|
printf("Using Tor proxy at %s\n", service.ToStringIPPort().c_str()); |
|
|
|
if (service.IsValid()) { |
|
|
|
SetProxy(NET_TOR, service); |
|
|
|
printf("Using Tor proxy at %s\n", service.ToStringIPPort().c_str()); |
|
|
|
|
|
|
|
SetProxy(NET_TOR, service); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
bool fDNS = true; |
|
|
|
bool fDNS = true; |
|
|
|
if (!opts.ns) { |
|
|
|
if (!opts.ns) { |
|
|
|