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: crACK https://github.com/bitcoin/bitcoin/commit/e7ac5a133cc354b1e60cb9c3660da03e79c50173 laanwj: Code review ACKe7ac5a133cjanb84: ACKe7ac5a133cstickies-v: ACKe7ac5a133cTree-SHA512: f211dec151c21728b4cd2b1716ee68907871beaa85d8c89e2bc17576e701d03c03e5455593de94970d787aa3264fab60d8c6debeeff908e00d8feb48804692e9
This commit is contained in:
5 files changed
+15
-12
No files matched your search
@@ -468,8 +468,8 @@ class ProxyTest(BitcoinTestFramework):
|
||||
assert_equal(nets["ipv6"]["proxy"], "127.6.6.6:6666")
|
||||
self.stop_node(1)
|
||||
|
||||
self.log.info("Test overriding the Tor proxy")
|
||||
self.start_node(1, extra_args=["-proxy=127.1.1.1:1111", "-proxy=127.2.2.2:2222=tor"])
|
||||
self.log.info("Test overriding the Onion proxy")
|
||||
self.start_node(1, extra_args=["-proxy=127.1.1.1:1111", "-proxy=127.2.2.2:2222=onion"])
|
||||
nets = networks_dict(self.nodes[1].getnetworkinfo())
|
||||
assert_equal(nets["ipv4"]["proxy"], "127.1.1.1:1111")
|
||||
assert_equal(nets["ipv6"]["proxy"], "127.1.1.1:1111")
|
||||
|
||||
Reference in new issue
Block a user