mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-01-20 15:19:07 +01:00
Merge bitcoin/bitcoin#34031: net: Remove "tor" as a network specification
e7ac5a133cdoc: add release note for 34031 (fanquake)c4c70a256enetbase: Remove "tor" as a network specification (Carl Dong) Pull request description: "tor" as a network specification was deprecated in60dc8e4208in favor of "onion" and this commit removes it and updates the relevant test. Previously #16029. This has been warning as being deprecated since `v0.17.0`. This PR only removes the already deprecated usage of tor as a network specification, the use of tor throughout the codebase, is not deprecated. ACKs for top commit: davidgumberg: crACKe7ac5a133claanwj: Code review ACKe7ac5a133cjanb84: ACKe7ac5a133cstickies-v: ACKe7ac5a133cTree-SHA512: f211dec151c21728b4cd2b1716ee68907871beaa85d8c89e2bc17576e701d03c03e5455593de94970d787aa3264fab60d8c6debeeff908e00d8feb48804692e9
This commit is contained in:
@@ -1683,7 +1683,7 @@ bool AppInitMain(NodeContext& node, interfaces::BlockAndHeaderTipInfo* tip_info)
|
||||
ipv4_proxy = name_proxy = proxy;
|
||||
} else if (net_str == "ipv6") {
|
||||
ipv6_proxy = name_proxy = proxy;
|
||||
} else if (net_str == "tor" || net_str == "onion") {
|
||||
} else if (net_str == "onion") {
|
||||
onion_proxy = proxy;
|
||||
} else if (net_str == "cjdns") {
|
||||
cjdns_proxy = proxy;
|
||||
|
||||
Reference in New Issue
Block a user