tor support
This commit is contained in:
parent
8530bfa64d
commit
9e25ed4ab6
1 changed files with 1 additions and 0 deletions
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…
Add table
Reference in a new issue