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

This commit is contained in:
Duke Leto
2020-12-07 08:19:20 -05:00
parent a56215532f
commit e324b748fa

View File

@@ -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();