Browse Source

tor support

pull/1/head
Pieter Wuille 13 years ago
parent
commit
9e25ed4ab6
  1. 1
      main.cpp

1
main.cpp

@ -321,6 +321,7 @@ int main(int argc, char **argv) {
setbuf(stdout, NULL); setbuf(stdout, NULL);
CDnsSeedOpts opts; CDnsSeedOpts opts;
opts.ParseCommandLine(argc, argv); opts.ParseCommandLine(argc, argv);
SetProxy(NET_TOR, CService("127.0.0.1", 9050));
bool fDNS = true; bool fDNS = true;
if (!opts.ns) { if (!opts.ns) {
printf("No nameserver set. Not starting DNS server.\n"); printf("No nameserver set. Not starting DNS server.\n");

Loading…
Cancel
Save