From e324b748fa55a3a55a329713d01539eb5de3c022 Mon Sep 17 00:00:00 2001 From: Duke Leto Date: Mon, 7 Dec 2020 08:19:20 -0500 Subject: [PATCH] Default to not listen on tor port, fewer threads by default --- src/torcontrol.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/torcontrol.h b/src/torcontrol.h index a0d0009a2..9d47b8d62 100644 --- a/src/torcontrol.h +++ b/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();