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 listtransactions: get rid of per-tx type annotations. 2023-01-30 15:15:41 -06:00
.gitignore Ignore all the deamon inside the git history 2021-10-28 15:51:38 +02:00
Makefile createinvoice: make a minimal blinded "path" in bolt12 invoice if none presented. 2022-11-09 15:08:03 +01:00
bitcoind.c lightningd: only use non-numeric JSON ids if plugin says we can. 2022-11-21 11:23:54 +01:00
bitcoind.h lightningd: trace JSON id prefixes through sendrawtx. 2022-09-16 12:31:45 +09:30
chaintopology.c lightningd/chaintopology: ensure htables are always tal objects. 2023-01-12 11:44:10 +10:30
chaintopology.h lightningd/chaintopology: ensure htables are always tal objects. 2023-01-12 11:44:10 +10:30
channel.c listtransactions: get rid of per-tx type annotations. 2023-01-30 15:15:41 -06:00
channel.h listtransactions: get rid of per-tx type annotations. 2023-01-30 15:15:41 -06:00
channel_control.c listtransactions: get rid of per-tx type annotations. 2023-01-30 15:15:41 -06:00
channel_control.h doc: update BOLTs to bc86304b4b0af5fd5ce9d24f74e2ebbceb7e2730 2022-09-12 09:34:52 +09:30
channel_state.h channel-state: add two new states, for dualopend 2021-01-10 13:44:04 +01:00
closing_control.c listtransactions: get rid of per-tx type annotations. 2023-01-30 15:15:41 -06:00
closing_control.h lightningd: trace JSON id prefixes through sendrawtx. 2022-09-16 12:31:45 +09:30
coin_mvts.c lightningd: use hash map for peers instead of linked list. 2023-01-21 08:05:31 -06:00
coin_mvts.h coin_mvt: tiny, dont import lightningd header 2022-02-07 13:02:09 +10:30
connect_control.c lightningd: don't run more than one reconnect timer at once. 2023-02-03 09:18:59 +10:30
connect_control.h plugin: wire JSON id for commands which caused hooks to fire. 2022-09-16 12:31:45 +09:30
datastore.c datastore: Add check for empty key array 2023-01-31 10:23:18 +10:30
dual_open_control.c listtransactions: get rid of per-tx type annotations. 2023-01-30 15:15:41 -06:00
dual_open_control.h lightningd: prepare internal json routines for listpeerchannels. 2023-01-13 10:42:42 +10:30
feerate.c lightningd/json.h: remove. 2022-07-15 12:24:00 -05:00
feerate.h lightningd/json.h: remove. 2022-07-15 12:24:00 -05:00
gossip_control.c opts: announce-addr-discovered on/off/auto switch 2023-01-25 14:37:56 +01:00
gossip_control.h gossipd: batch outpoints spent, add block height. 2022-09-24 15:22:27 +09:30
hsm_control.c hsmd: increase HSM_MAX_VERSION to 3 2023-01-26 21:10:15 -06:00
hsm_control.h cleanup: remove unneeded includes in header files. 2021-09-17 09:43:22 +09:30
htlc_end.c channeld: don't calculate blinding shared secret, let lightningd do it. 2022-10-26 11:29:06 +10:30
htlc_end.h channeld: don't calculate blinding shared secret, let lightningd do it. 2022-10-26 11:29:06 +10:30
htlc_set.c lightningd: ensure htlc htables are always tal objects. 2023-01-12 11:44:10 +10:30
htlc_set.h Makefile: use completely separate spec-derived files for EXPERIMENTAL_FEATURES 2020-09-08 09:42:00 +09:30
invoice.c hsmd: add hsmd_preapprove_keysend and check_preapprovekeysend pay modifier 2023-01-26 21:10:15 -06:00
invoice.h Makefile: use completely separate spec-derived files for EXPERIMENTAL_FEATURES 2020-09-08 09:42:00 +09:30
io_loop_with_timers.c database: pull out database code into a new module 2022-03-05 15:03:34 +10:30
io_loop_with_timers.h lightningd/io_loop_with_timers.c: Move mainloop to its own source file, have chaintopology use it. 2019-05-31 17:57:10 +02:00
jsonrpc.c lightningd: treat JSON ids as direct tokens. 2023-01-11 11:13:27 +10:30
jsonrpc.h lightningd: only use non-numeric JSON ids if plugin says we can. 2022-11-21 11:23:54 +01:00
lightningd.c lightningd: flag false-positive memleak in lightningd 2023-02-02 08:29:25 +01:00
lightningd.h lightningd: don't run more than one reconnect timer at once. 2023-02-03 09:18:59 +10:30
log.c common: expose node_id_hash functions. 2023-01-21 08:05:31 -06:00
log.h options: let log-level subsystem filter also cover nodeid. 2022-07-09 09:59:52 +09:30
log_status.c check: make sure all files outside contrib/ include "config.h" first. 2021-12-06 10:05:39 +10:30
log_status.h cleanup: remove unneeded includes in header files. 2021-09-17 09:43:22 +09:30
memdump.c lightningd: use a hash table for peer->dbid. 2023-01-21 08:05:31 -06:00
memdump.h lightningd: simplify memleak code. 2022-03-10 09:40:09 +10:30
notification.c lightningd: add in_htlc_id / out_htlc_id to listforwards. 2022-09-22 15:19:46 +02:00
notification.h jsonrpc: make error codes an enum. 2022-09-19 10:18:55 +09:30
offer.c bolt12: update comments to match latest spec. 2022-11-09 15:08:03 +01:00
onchain_control.c listtransactions: get rid of per-tx type annotations. 2023-01-30 15:15:41 -06:00
onchain_control.h onchaind: remove 'is_replay' logic 2021-12-28 04:42:42 +10:30
onion_message.c common: update to latest onion-message spec. 2023-01-30 13:24:29 +10:30
onion_message.h common: remove support for pre v0.10.2 onionmessages. 2021-12-01 05:44:28 +10:30
opening_common.c openingd: Add `reserve` to `fundchannel` and `multifundchannel` 2022-09-21 11:25:47 +02:00
opening_common.h openingd: Add `reserve` to `fundchannel` and `multifundchannel` 2022-09-21 11:25:47 +02:00
opening_control.c lightningd: prepare internal json routines for listpeerchannels. 2023-01-13 10:42:42 +10:30
opening_control.h lightningd: prepare internal json routines for listpeerchannels. 2023-01-13 10:42:42 +10:30
options.c opts: adds --announce-addr-discovered-port config option 2023-01-25 17:57:04 +01:00
options.h opts: adds the autobool on/off/auto feature 2023-01-25 14:37:56 +01:00
pay.c lightningd: Look for channels by alias when finding channels 2023-01-03 15:30:23 +10:30
pay.h jsonrpc: make error codes an enum. 2022-09-19 10:18:55 +09:30
peer_control.c doc-schema: make address field in getinfo response required 2023-02-01 13:55:00 +10:30
peer_control.h lightningd: use a hash table for peer->dbid. 2023-01-21 08:05:31 -06:00
peer_fd.c subdaemons: remove gossipd fd from per-peer daemons. 2022-02-08 11:15:52 +10:30
peer_fd.h subdaemons: remove gossipd fd from per-peer daemons. 2022-02-08 11:15:52 +10:30
peer_htlcs.c listtransactions: get rid of per-tx type annotations. 2023-01-30 15:15:41 -06:00
peer_htlcs.h lightningd: fix valgrind reported leak when we exit early. 2023-01-17 14:13:45 +10:30
ping.c common: clean up json routine locations. 2022-07-15 12:24:00 -05:00
plugin.c lightningd: treat JSON ids as direct tokens. 2023-01-11 11:13:27 +10:30
plugin.h lightningd: correctly exit when an important-plugin fails to start. 2022-11-30 15:47:31 +01:00
plugin_control.c lightningd: wire plugin command JSON id through to plugin commands. 2022-09-16 12:31:45 +09:30
plugin_control.h plugins: add `command` field to subcommand output. 2021-06-25 09:49:33 +09:30
plugin_hook.c lightningd: don't call memcpy with NULL. 2023-01-12 11:44:10 +10:30
plugin_hook.h plugin: wire JSON id for commands which caused hooks to fire. 2022-09-16 12:31:45 +09:30
routehint.c lightnind: use aliases in routehints for private channels. 2022-08-09 16:31:36 -05:00
routehint.h invoice: overhaul routehints to use topology.listincoming, cleanup. 2021-06-16 10:29:17 +09:30
signmessage.c lightningd: only use non-numeric JSON ids if plugin says we can. 2022-11-21 11:23:54 +01:00
subd.c lightningd: more graceful shutdown. 2022-09-12 14:00:41 +02:00
subd.h lightningd: more graceful shutdown. 2022-09-12 14:00:41 +02:00
watch.c lightningd/chaintopology: ensure htables are always tal objects. 2023-01-12 11:44:10 +10:30
watch.h Remove names of parameters of callbacks which confuse gcc. 2022-08-31 12:18:28 +03:00