rgb-cln/lightningd/test
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
..
Makefile unittest: use common_setup / common_shutdown almost everywhere. 2020-12-02 12:55:09 +10:30
run-find_my_abspath.c common: treat all "all-channels" errors as if they were warnings. 2021-02-04 12:02:52 +10:30
run-invoice-select-inchan.c lightningd: get connection direction from connectd. 2021-03-26 13:22:33 +10:30
run-jsonrpc.c unittest: use common_setup / common_shutdown almost everywhere. 2020-12-02 12:55:09 +10:30
run-log-pruning.c common: add routines for log level names. 2020-10-23 13:53:16 +10:30