rgb-cln/wallet/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
..
.gitignore
Makefile hsmd: Augment call to hsmd_sign_withdrawal_tx with wallet index metadata 2022-03-10 10:22:29 +10:30
run-db.c unit tests: don't crash if !HAVE_SQLITE3. 2022-03-30 14:20:56 +10:30
run-wallet.c connectd: control connect backoff from lightningd. 2022-07-28 15:08:44 +09:30
test_utils.c check: make sure all files outside contrib/ include "config.h" first. 2021-12-06 10:05:39 +10:30
test_utils.h check: make sure all files outside contrib/ include "config.h" first. 2021-12-06 10:05:39 +10:30