tor support

This commit is contained in:
Pieter Wuille 2012-05-26 11:28:29 +02:00
parent 8530bfa64d
commit 9e25ed4ab6
1 changed files with 1 additions and 0 deletions

View File

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