rgb-cln/connectd
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
..
test check-includes: allow redundant "config.h" 2021-02-04 12:02:36 +10:30
Makefile dualfund: rearrange things so that the wire-dependent calls are separate 2020-10-20 14:27:19 +10:30
connectd.c lightningd: get connection direction from connectd. 2021-03-26 13:22:33 +10:30
connectd.h connectd: clearly differentiate incoming and outgoing paths. 2021-03-25 11:31:58 +10:30
connectd_gossipd_wire.csv connectd: convert to new wire generation style. 2020-08-25 12:53:13 +09:30
connectd_gossipd_wiregen.c tools/generate-wire.py: include digits in #ifndef idempotent header. 2021-01-13 14:45:36 +01:00
connectd_gossipd_wiregen.h tools/generate-wire.py: include digits in #ifndef idempotent header. 2021-01-13 14:45:36 +01:00
connectd_wire.csv lightningd: get connection direction from connectd. 2021-03-26 13:22:33 +10:30
connectd_wiregen.c lightningd: get connection direction from connectd. 2021-03-26 13:22:33 +10:30
connectd_wiregen.h lightningd: get connection direction from connectd. 2021-03-26 13:22:33 +10:30
handshake.c check-includes: allow redundant "config.h" 2021-02-04 12:02:36 +10:30
handshake.h common: generalize ecdh function. 2020-04-04 16:08:49 +10:30
netaddress.c check-includes: allow redundant "config.h" 2021-02-04 12:02:36 +10:30
netaddress.h gossipd: move files into connectd. 2018-07-25 02:13:52 +00:00
peer_exchange_initmsg.c connectd: clearly differentiate incoming and outgoing paths. 2021-03-25 11:31:58 +10:30
peer_exchange_initmsg.h connectd: clearly differentiate incoming and outgoing paths. 2021-03-25 11:31:58 +10:30
tor.c connect/tor: Set errno, if connection failed we want to reflect this. 2020-07-01 11:21:58 +02:00
tor.h connectd: rename 'struct reaching' to 'struct connecting'. 2018-09-28 04:14:28 +00:00
tor_autoservice.c check-includes: allow redundant "config.h" 2021-02-04 12:02:36 +10:30
tor_autoservice.h Init commit to be able to create a tor static service on the fly. 2019-12-03 23:35:18 +01:00