core-lightning/gossipd
Michael Schmoock 301acc9556 gossipd: only use IP discovery if no addresses are announced
This will only add the discovered `remote_addr` IPs if no other
addresses would be announced. Meaning whenever a public address was
found by autobind or an address was specified via commandline or config,
IP discovery will be disabled.

Addresses: #5305

Note from the author: We could/should also enable IP discovery when we only
have a TOR address (but without --always-use-proxy ofc). This will give
nodes an option to have a bootstrap way to be reached until IP discovery
can do the job in a more stable way.

Changelog-Changed: Only use IP discovery as fallback when no addresses would be announced
2022-07-12 13:59:46 -05:00
..
test gossipd: make use of new ratelimit bit in gossip_store length mask 2022-07-06 14:31:19 +09:30
broadcast.h cleanup: remove unneeded includes in header files. 2021-09-17 09:43:22 +09:30
gossip_generation.c gossipd: only use IP discovery if no addresses are announced 2022-07-12 13:59:46 -05:00
gossip_generation.h channeld: send channel updates and announcements via lightningd. 2022-02-08 11:15:52 +10:30
gossip_store.c gossipd: fix crash from gossip_store v10 changes 2022-07-12 14:18:06 +09:30
gossip_store.h gossipd: make use of new ratelimit bit in gossip_store length mask 2022-07-06 14:31:19 +09:30
gossip_store_wire.csv gossip_store: create end marker for EOF. 2021-05-22 17:53:04 +09:30
gossipd.c gossipd: nit: update a misleading comment 2022-07-12 13:59:46 -05:00
gossipd.h gossipd: send updated node_annoucement remote_addr 2022-03-11 16:42:45 +10:30
gossipd_peerd_wire.csv channeld: send channel updates and announcements via lightningd. 2022-02-08 11:15:52 +10:30
gossipd_wire.csv connectd: take dev-suppress-gossip from gossipd. 2022-03-31 19:38:05 +10:30
Makefile channeld: take over gossip_rcvd_filter.c and is_msg_gossip_broadcast. 2022-06-17 14:14:02 +09:30
queries.c Makefile: update to BOLTs without zlib. 2022-05-19 09:47:32 +09:30
queries.h gossipd: send all gossip msgs directly to connectd, not peer. 2022-02-08 11:15:52 +10:30
routing.c gossipd: fix crash from gossip_store v10 changes 2022-07-12 14:18:06 +09:30
routing.h gossipd: fix crash from gossip_store v10 changes 2022-07-12 14:18:06 +09:30
seeker.c connectd: take dev-suppress-gossip from gossipd. 2022-03-31 19:38:05 +10:30
seeker.h connectd: take dev-suppress-gossip from gossipd. 2022-03-31 19:38:05 +10:30