Browse Source

Default to not listen on tor port, fewer threads by default

dev
Duke Leto 4 years ago
parent
commit
e324b748fa
  1. 5
      src/torcontrol.h

5
src/torcontrol.h

@ -12,7 +12,10 @@
#include "scheduler.h"
extern const std::string DEFAULT_TOR_CONTROL;
static const bool DEFAULT_LISTEN_ONION = true;
// Most users don't have Tor, those that do can turn it on
// This help reduce CPU usage, thread contention and helps
// low resource devices
static const bool DEFAULT_LISTEN_ONION = false;
void StartTorControl(boost::thread_group& threadGroup, CScheduler& scheduler);
void InterruptTorControl();

Loading…
Cancel
Save