From 9e25ed4ab6f0dd595122bc098418b494933d09d5 Mon Sep 17 00:00:00 2001 From: Pieter Wuille Date: Sat, 26 May 2012 11:28:29 +0200 Subject: [PATCH] tor support --- main.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/main.cpp b/main.cpp index be1f9f8..35182d8 100644 --- a/main.cpp +++ b/main.cpp @@ -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");