rgb-cln/gossipd
Michael Schmoock 532544ce4f gossipd: rename remote_addr to discovered_ip within gossipd
This is cleaner because, the `remote_addr` and `discovered_ip` are
related but two different things.

Within connectd and lightningd we use the peers `remote_addr` feature
to validate (and guess a port) to be used for IP discovery.

Also when a peer reports us a `remote_addr`, this is given to the plugin API
via the `peer_connected` hook. The network port here is not modified for
godd reason! This can be used i.e. to detect if we are behind a NAT.

But once lightningd figures enough peers report the same `remote_addr`,
it sets the port to the selected network and tells gossipd to use that for
`node_announcement` updates.

Hence, within gossipd, there is no (should not be) `remote_addr`.

Changelog-None
2022-09-15 13:30:06 +09:30
..
test Remove general shadowed variables. 2022-08-31 12:18:28 +03:00
Makefile channeld: take over gossip_rcvd_filter.c and is_msg_gossip_broadcast. 2022-06-17 14:14:02 +09:30
broadcast.h cleanup: remove unneeded includes in header files. 2021-09-17 09:43:22 +09:30
gossip_generation.c gossipd: rename remote_addr to discovered_ip within gossipd 2022-09-15 13:30:06 +09:30
gossip_generation.h channeld: send channel updates and announcements via lightningd. 2022-02-08 11:15:52 +10:30
gossip_store.c Remove general shadowed variables. 2022-08-31 12:18:28 +03:00
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: rename remote_addr to discovered_ip within gossipd 2022-09-15 13:30:06 +09:30
gossipd.h gossipd: rename remote_addr to discovered_ip within gossipd 2022-09-15 13:30:06 +09:30
gossipd_peerd_wire.csv channeld: send channel updates and announcements via lightningd. 2022-02-08 11:15:52 +10:30
gossipd_wire.csv gossipd: rename remote_addr to discovered_ip within gossipd 2022-09-15 13:30:06 +09:30
queries.c Remove general shadowed variables. 2022-08-31 12:18:28 +03:00
queries.h Remove general shadowed variables. 2022-08-31 12:18:28 +03:00
routing.c doc: upgrade to BOLTs 2ecc091f3484f7a3450e7f5543ae851edd1e0761 2022-09-12 09:34:52 +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