HomePhabricator

test: Add explicit onion bind to p2p_permissions

Description

test: Add explicit onion bind to p2p_permissions

Summary:
When the bind option is replaced in the bitcoin.conf, bitcoind will
attempd to bind to the default tor listening port. If another bitcoind
is running that is already bound to that port, the bind will fail which,
since D17662, causes the test to fail.

This failure can be avoided by explicitly binding the tor port when the
bind is removed.

This is a backport of core#30805

Note missing refactors: core#28392, core#26956

Test Plan: ninja check-functional

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Differential Revision: https://reviews.bitcoinabc.org/D17673

Details

Provenance
Ava Chow <github@achow101.com>Authored on Sep 3 2024, 20:20
PiRKCommitted on Tue, Feb 18, 14:46
PiRKPushed on Tue, Feb 18, 14:46
Reviewer
Restricted Project
Differential Revision
D17673: test: Add explicit onion bind to p2p_permissions
Parents
rABCe09df7e9e3ab: [chronik] Implement blockchain.scripthash.listunspent electrum method
Branches
Unknown
Tags
Unknown