Page MenuHomePhabricator

tor: make a TORv3 hidden service instead of TORv2
ClosedPublic

Authored by Fabien on Feb 10 2021, 11:23.

Details

Reviewers
majcosta
Group Reviewers
Restricted Project
Commits
rABC6ade7a6442a3: tor: make a TORv3 hidden service instead of TORv2
Summary
TORv2 is deprecated [1], thus whenever we create the hidden service
ourselves create a TORv3 one instead.

[1] https://blog.torproject.org/v2-deprecation-timeline

Completes backport (4/4) of core PR19954:
https://github.com/bitcoin/bitcoin/pull/19954/commits/dcf0cb477699d11afd0ff37c8bfb2b1b4f7f1ee5

Depends on D9200.

Test Plan
ninja all check-all

./src/bitcoind -listenonion

Check it connects and the onion_v3_private_key is created in the data
dir.