Page MenuHomePhabricator

test: Add explicit onion bind to p2p_permissions
ClosedPublic

Authored by PiRK on Tue, Feb 18, 13:19.

Details

Reviewers
Fabien
Group Reviewers
Restricted Project
Commits
rABC9205e1004401: 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

Diff Detail