diff options
| author | bitflash-maintainer <noreply@bitflash.invalid> | 2026-08-26 22:44:31 +0000 |
|---|---|---|
| committer | bitflash-maintainer <noreply@bitflash.invalid> | 2026-08-26 22:44:31 +0000 |
| commit | 9b0535312a77a97b06837bbef51c1fe4b7f3b0da (patch) | |
| tree | 09eaa472699c1f2320f618697a1613e74517cc6a /src/db.cpp | |
| parent | 3fe9280fc11bc4ceaff3bb21533224b7b3e88da7 (diff) | |
net: bind INADDR_ANY only when this node advertises an onion endpoint
Upstream 1.2.19 made the P2P listener wildcard-bind unconditionally because
managed Tor forwards hidden-service traffic to 127.0.0.1, which a LAN-only
bind cannot receive. That also widened every non-Tor node to listen on VPN
tunnels, docker bridges and secondary NICs. The onion endpoint is always
configured (or the managed-Tor hidden service established) before StartNode,
so the predicate is ready when the bind happens.
Diffstat (limited to 'src/db.cpp')
0 files changed, 0 insertions, 0 deletions