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
..
2022-09-15 13:30:06 +09:30
2021-10-28 15:51:38 +02:00
2022-08-31 12:18:28 +03:00
2022-08-31 12:18:28 +03:00
2022-09-14 13:50:38 -05:00
2022-08-31 12:18:28 +03:00
2022-09-12 09:34:52 +09:30
2022-09-12 09:34:52 +09:30
2021-01-10 13:44:04 +01:00
2022-09-12 09:34:52 +09:30
2022-09-14 15:59:37 +09:30
2022-07-18 20:50:04 -05:00
2022-01-20 15:24:06 +10:30
2022-09-14 15:59:37 +09:30
2022-02-07 13:02:09 +10:30
2022-09-12 09:34:52 +09:30
2022-07-28 15:08:44 +09:30
2022-07-15 12:24:00 -05:00
2022-09-12 09:34:52 +09:30
2022-07-18 20:50:04 -05:00
2022-07-15 12:24:00 -05:00
2022-07-15 12:24:00 -05:00
2022-09-15 13:30:06 +09:30
2022-02-08 11:15:52 +10:30
2022-07-20 19:28:33 +09:30
2021-09-17 09:43:22 +09:30
2022-04-20 16:30:05 +09:30
2021-12-28 04:42:42 +10:30
2021-12-06 10:05:39 +10:30
2020-09-08 09:42:00 +09:30
2022-09-14 13:43:27 -05:00
2020-09-08 09:42:00 +09:30
2022-03-05 15:03:34 +10:30
2019-05-31 17:57:10 +02:00
2022-09-12 14:00:41 +02:00
2022-09-12 14:00:41 +02:00
2022-09-15 13:30:06 +09:30
2022-09-15 13:30:06 +09:30
2021-12-06 10:05:39 +10:30
2021-09-17 09:43:22 +09:30
2022-07-25 08:11:09 -07:00
2022-07-09 09:59:52 +09:30
2022-07-15 12:24:00 -05:00
2022-08-31 12:18:28 +03:00
2022-03-10 09:40:09 +10:30
2022-09-14 13:50:38 -05:00
2022-09-14 13:50:38 -05:00
2022-09-12 09:34:52 +09:30
2022-09-12 09:34:52 +09:30
2021-12-28 04:42:42 +10:30
2022-07-15 12:24:00 -05:00
2021-12-01 05:44:28 +10:30
2022-09-12 09:34:52 +09:30
2022-07-18 20:50:04 -05:00
2022-09-12 09:34:52 +09:30
2022-03-23 13:20:12 +10:30
2022-09-15 13:25:58 +09:30
2021-09-17 09:43:22 +09:30
2022-09-14 13:14:10 +02:00
2022-02-08 11:15:52 +10:30
2022-09-15 13:30:06 +09:30
2022-07-28 15:08:44 +09:30
2022-02-08 11:15:52 +10:30
2022-02-08 11:15:52 +10:30
2022-09-12 09:34:52 +09:30
2022-03-31 13:40:27 +10:30
2022-07-15 12:24:00 -05:00
2022-07-15 12:24:00 -05:00
2021-06-25 09:49:33 +09:30
2022-09-12 14:00:41 +02:00
2021-09-17 09:43:22 +09:30
2022-09-12 14:00:41 +02:00
2021-12-14 09:33:10 +10:30
2022-08-09 16:31:36 -05:00
2021-06-16 10:29:17 +09:30
2022-08-31 12:18:28 +03:00
2022-09-12 14:00:41 +02:00
2022-09-12 14:00:41 +02:00
2022-08-31 12:18:28 +03:00
2022-08-31 12:18:28 +03:00