rgb-cln/lightningd/test
Rusty Russell 22ff007d64 connectd: control connect backoff from lightningd.
We used to tell connectd to remember our connect delay, and hand it
back (increased if necessary).

Instead, simply record when we last tried to connect.  If it was less
than 10 minutes ago, double delay (up to 5 minutes max), otherwise
reset delay to 1 second.

This covers all scenarios: whether we reconnect then immediately
disconnect, or never successfully connect, it doesn't matter.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Fixes: #5453
2022-07-28 15:08:44 +09:30
..
Makefile common: clean up json routine locations. 2022-07-15 12:24:00 -05:00
run-find_my_abspath.c lightningd: test that hsm_secret is as expected, at startup. 2022-07-20 19:28:33 +09:30
run-invoice-select-inchan.c connectd: control connect backoff from lightningd. 2022-07-28 15:08:44 +09:30
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