mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-04-29 14:59:39 -04:00
torcontrol: Fix addrOnion outdate comment
Signed-off-by: Eval EXEC <execvy@gmail.com>
This commit is contained in:
parent
cdc32994fe
commit
bcaa23a2b7
1 changed files with 3 additions and 3 deletions
|
@ -404,9 +404,9 @@ void TorController::get_socks_cb(TorControlConnection& _conn, const TorControlRe
|
|||
Assume(resolved.IsValid());
|
||||
LogDebug(BCLog::TOR, "Configuring onion proxy for %s\n", resolved.ToStringAddrPort());
|
||||
|
||||
// With m_randomize_credentials = true, generates unique SOCKS credentials per proxy connection (e.g., Tor).
|
||||
// Prevents connection correlation and enhances privacy by forcing different Tor circuits.
|
||||
// Requires Tor's IsolateSOCKSAuth (default enabled) for effective isolation (see IsolateSOCKSAuth section in https://2019.www.torproject.org/docs/tor-manual.html.en).
|
||||
// Add Tor as proxy for .onion addresses.
|
||||
// Enable stream isolation to prevent connection correlation and enhance privacy, by forcing a different Tor circuit for every connection.
|
||||
// For this to work, the IsolateSOCKSAuth flag must be enabled on SOCKSPort (which is the default, see the IsolateSOCKSAuth section of Tor's manual page).
|
||||
Proxy addrOnion = Proxy(resolved, /*tor_stream_isolation=*/ true);
|
||||
SetProxy(NET_ONION, addrOnion);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue