rgb-cln/lightningd
Rusty Russell 6347ee7308 lightningd: don't run more than one reconnect timer at once.
In various circumstances we can start a reconnection while one is
already going on.  These can stockpile if the node really is unreachable.

Reported-by: @whitslack
Fixes: #5654
Changelog-Fixed: lightningd: we no longer stack multiple reconnection attempts if connections fail.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2023-02-03 09:18:59 +10:30
..
test
.gitignore
Makefile
bitcoind.c
bitcoind.h
chaintopology.c
chaintopology.h
channel.c
channel.h
channel_control.c
channel_control.h
channel_state.h
closing_control.c
closing_control.h
coin_mvts.c
coin_mvts.h
connect_control.c
connect_control.h
datastore.c
dual_open_control.c
dual_open_control.h
feerate.c
feerate.h
gossip_control.c
gossip_control.h
hsm_control.c
hsm_control.h
htlc_end.c
htlc_end.h
htlc_set.c
htlc_set.h
invoice.c
invoice.h
io_loop_with_timers.c
io_loop_with_timers.h
jsonrpc.c
jsonrpc.h
lightningd.c
lightningd.h
log.c
log.h
log_status.c
log_status.h
memdump.c
memdump.h
notification.c
notification.h
offer.c
onchain_control.c
onchain_control.h
onion_message.c
onion_message.h
opening_common.c
opening_common.h
opening_control.c
opening_control.h
options.c
options.h
pay.c
pay.h
peer_control.c
peer_control.h
peer_fd.c
peer_fd.h
peer_htlcs.c
peer_htlcs.h
ping.c
plugin.c
plugin.h
plugin_control.c
plugin_control.h
plugin_hook.c
plugin_hook.h
routehint.c
routehint.h
signmessage.c
subd.c
subd.h
watch.c
watch.h