Files
lightning/lightningd
Rusty Russell b0d6996ed6 lightningd: get connection direction from connectd.
This matters: if we connected, the address is probably usable for future connections.
But if they connected, the port is probably not (but the IP address may be).

Changelog-Added: JSON-RPC: `connect` returns "direction" ("in": they iniatated, or "out": we initiated)
Changelog-Added: plugins: `peer_connected` hook and `connect` notifications have "direction" field.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2021-03-26 13:22:33 +10:30
..
2021-01-13 14:45:36 +01:00
2021-02-25 14:44:03 +10:30
2020-08-25 12:53:13 +09:30
2021-03-03 16:19:04 -06:00
2021-03-03 16:19:04 -06:00