mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-24 01:24:26 +01:00
opts: announce-addr-discovered on/off/auto switch
This adds the option to explicitly enable ip-discovery, which maybe helpful for example when a user wants TOR announced along with discovered IPs to improve connectivity and have TOR just as a fallback. Changelog-Added: Adds config switch 'announce-addr-discovered': on/off/auto
This commit is contained in:
@@ -73,7 +73,8 @@ def test_remote_addr(node_factory, bitcoind):
|
||||
# don't announce anything per se
|
||||
opts = {'may_reconnect': True,
|
||||
'dev-allow-localhost': None,
|
||||
'dev-no-reconnect': None}
|
||||
'dev-no-reconnect': None,
|
||||
'ip-discovery': True}
|
||||
l1, l2, l3 = node_factory.get_nodes(3, opts)
|
||||
|
||||
# Disable announcing local autobind addresses with dev-allow-localhost.
|
||||
|
||||
Reference in New Issue
Block a user