rgb-cln/wallet
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
..
test connectd: control connect backoff from lightningd. 2022-07-28 15:08:44 +09:30
.gitignore reorganize .gitignore entries across subdirs. 2021-05-18 09:43:50 +09:30
Makefile make-schema: don't include tools/fromschema.py in SHASUMS 2022-07-14 12:24:48 -05:00
db.c zeroconf: Add alias_remote and alias_local to channel and DB 2022-07-04 22:14:06 +02:00
db.h database: pull out database code into a new module 2022-03-05 15:03:34 +10:30
invoices.c delinvoice: allow desconly arg to only remove the description. 2022-03-29 10:04:16 +10:30
invoices.h delinvoice: allow desconly arg to only remove the description. 2022-03-29 10:04:16 +10:30
reservation.c lightningd/json.h: remove. 2022-07-15 12:24:00 -05:00
txfilter.c check: make sure all files outside contrib/ include "config.h" first. 2021-12-06 10:05:39 +10:30
txfilter.h common: use bitcoin_outpoint. 2021-10-15 12:09:36 +02:00
wallet.c wallet: resolve crash when blockheight is null 2022-07-28 12:08:18 +09:30
wallet.h lightningd: test that hsm_secret is as expected, at startup. 2022-07-20 19:28:33 +09:30
walletrpc.c lightningd: remove 'connected' flag from channel structure. 2022-07-18 20:50:04 -05:00
walletrpc.h daemons: remove unused functions or make static. 2021-12-06 10:05:39 +10:30