rgb-cln/lightningd/test
Rusty Russell 02e169fd27 lightningd: drive all reconnections out of disconnections.
The only places which should call try_reconnect now are the "connect"
command, and the disconnect path when it decides there's still an
active channel.

This introduces one subtlety: if we disconnect when there's no active
channel, but then the subd makes one, we have to catch that case!

This temporarily reverts "slow" reconnections to fast ones: see next
patch.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2022-07-18 20:50:04 -05:00
..
Makefile common: clean up json routine locations. 2022-07-15 12:24:00 -05:00
run-find_my_abspath.c common: clean up json routine locations. 2022-07-15 12:24:00 -05:00
run-invoice-select-inchan.c lightningd: drive all reconnections out of disconnections. 2022-07-18 20:50:04 -05:00
run-jsonrpc.c lightningd/json.h: remove. 2022-07-15 12:24:00 -05:00
run-log-pruning.c lightningd: don't explicitly tell connectd to disconnect, have it do it on sending error/warning. 2022-07-18 20:50:04 -05:00
run-shuffle_fds.c common: clean up json routine locations. 2022-07-15 12:24:00 -05:00