mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-01-19 23:03:45 +01:00
net: Rename _randomize_credentials Proxy parameter to tor_stream_isolation
Rename the `_randomize_credentials` parameter to Proxy's constructor to `tor_stream_isolation` to make it more clear, and more specific what its purpose is. Also change all call sites to use a named parameter.
This commit is contained in:
@@ -407,7 +407,7 @@ void TorController::get_socks_cb(TorControlConnection& _conn, const TorControlRe
|
||||
// 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).
|
||||
Proxy addrOnion = Proxy(resolved, /*_randomize_credentials=*/ true);
|
||||
Proxy addrOnion = Proxy(resolved, /*tor_stream_isolation=*/ true);
|
||||
SetProxy(NET_ONION, addrOnion);
|
||||
|
||||
const auto onlynets = gArgs.GetArgs("-onlynet");
|
||||
|
||||
Reference in New Issue
Block a user