core-lightning/lightningd
Rusty Russell d57accfca7 lightningd: wait for onchaind to ack new spends before continuing replay.
Christian noted that if we don't do this we could flood onchaind with messages:
particularly in Greenlight where the HSM (remote) may delay indefinitely, so
onchaind doesn't process messages.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2024-11-13 14:44:03 +10:30
..
test onchaind: explicit ack for onchaind_spent method. 2024-11-13 14:44:03 +10:30
.gitignore Ignore all the deamon inside the git history 2021-10-28 15:51:38 +02:00
anchorspend.c common/amount: add amount_msat_accumulate() 2024-09-19 12:16:53 +09:30
anchorspend.h channeld: use anchors on peer's commitment(s) if we can't broadcast our own. 2023-10-27 11:19:56 +10:30
bitcoind.c lightningd: pass explicit context for bitcoind request functions. 2024-06-24 17:26:11 +09:30
bitcoind.h lightningd: pass explicit context for bitcoind request functions. 2024-06-24 17:26:11 +09:30
chaintopology.c lightningd: handle duplicate watches on the same thing correctly. 2024-08-13 07:25:02 -07:00
chaintopology.h chaintopology: free outstanding requests so we don't get responses while shutting down. 2024-06-24 17:26:11 +09:30
channel_control.c splice: Bulk channel stfu and abort RPC 2024-11-12 06:42:52 +10:30
channel_control.h common: No longer support new channels without option_static_remotekey. 2024-06-19 15:54:24 +09:30
channel_gossip.c lightningd: always broadcast our own gossip when it changes. 2024-08-12 16:30:29 +09:30
channel_gossip.h lightingd: corrections from Alex Myers's review. 2024-01-31 14:47:33 +10:30
channel_state.h lightningd: rename state_change_entry to channel_state_change, and use pointers. 2024-09-21 06:20:18 +09:30
channel.c lightningd: wait for onchaind to ack new spends before continuing replay. 2024-11-13 14:44:03 +10:30
channel.h lightningd: wait for onchaind to ack new spends before continuing replay. 2024-11-13 14:44:03 +10:30
closed_channel.c common/amount: rename amount_sat_zero/amount_msat_zerp -> amount_sat_is_zero/amount_msat_is_zero. 2024-09-19 12:16:53 +09:30
closed_channel.h lightningd: add last_stable_connection field to db, channel. 2024-01-31 14:47:33 +10:30
closing_control.c rpc: Removing description from json_command struct 2024-07-31 14:42:58 +09:30
closing_control.h lightningd: pass signed tx through to close callback. 2023-08-02 07:09:28 +09:30
coin_mvts.c lightningd: store our id as a struct pubkey as well as struct node_id. 2024-07-23 09:54:47 +09:30
coin_mvts.h coin_mvt: tiny, dont import lightningd header 2022-02-07 13:02:09 +10:30
configs.c config: add the ability for plugins to specify that config values should be concealed. 2024-11-13 08:49:55 +10:30
connect_control.c lightningd: track whether we're supposed to be throttling gossip. 2024-08-12 16:30:29 +09:30
connect_control.h lightningd: tell connectd about all scids. 2024-07-10 13:34:00 +02:00
datastore.c rpc: Removing description from json_command struct 2024-07-31 14:42:58 +09:30
dual_open_control.c common/amount: rename amount_sat_zero/amount_msat_zerp -> amount_sat_is_zero/amount_msat_is_zero. 2024-09-19 12:16:53 +09:30
dual_open_control.h common: BOLT update: option_anchors_zero_fee_htlc_tx is now simply "option_anchors". 2024-06-19 15:54:24 +09:30
feerate.c lightnind: remove deprecated feerate names. 2024-03-25 15:02:35 +10:30
feerate.h lightningd: clean up feerate handling, deprecate old terms. 2023-04-10 07:31:12 +09:30
forwards.c lightningd: listforwards returns 0 for missing received_time. ([#7157]) 2024-10-26 09:51:20 +02:00
forwards.h lightningd: clean up notification infrastructure. 2024-01-26 10:30:22 +10:30
gossip_control.c gossipd: replay old spent UTXOs when restarting. 2024-11-13 14:44:03 +10:30
gossip_control.h lightningd: ignore gossip messages from channeld, switch to our own. 2024-01-31 14:47:33 +10:30
gossip_generation.c lightningd: store our id as a struct pubkey as well as struct node_id. 2024-07-23 09:54:47 +09:30
gossip_generation.h bitcoin/short_channel_id: pass by copy everywhere. 2024-03-20 13:51:48 +10:30
hsm_control.c lightningd: use tweak on node_id of different key, for createinvoicerequest. 2024-08-01 12:31:48 +09:30
hsm_control.h hsmd: rename "capabilities" flags for hsm fds to "permissions" 2023-08-08 14:31:47 +09:30
htlc_end.c global: rename blinding to path_key everywhere. 2024-10-16 07:14:32 +10:30
htlc_end.h global: rename blinding to path_key everywhere. 2024-10-16 07:14:32 +10:30
htlc_set.c lightningd: generalize htlc_set. 2024-10-27 13:57:50 +11:00
htlc_set.h lightningd: generalize htlc_set. 2024-10-27 13:57:50 +11:00
invoice.c lightningd: generalize htlc_set. 2024-10-27 13:57:50 +11:00
invoice.h sendpays: hook into the wait subsystem. 2023-10-28 15:48:26 +10: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 rpc: Removing description from json_command struct 2024-07-31 14:42:58 +09:30
jsonrpc.h rpc: Removing description from json_command struct 2024-07-31 14:42:58 +09:30
lightningd.c lightningd: add option dev-strict-forwarding 2024-11-12 10:44:10 +01:00
lightningd.h lightningd: add option dev-strict-forwarding 2024-11-12 10:44:10 +01:00
log_status.c lightningd/log: clean up nomenclature. 2023-07-19 19:13:57 +09:30
log_status.h lightningd/log: clean up nomenclature. 2023-07-19 19:13:57 +09:30
log.c lightningd: trim whitespaces from end of config parameters 2024-08-10 15:20:59 +09:30
log.h logging: add TRACE between DEBUG and IO 2024-05-08 21:05:49 -05:00
Makefile common/bolt12_id: new common routine for creating path secrets. 2024-08-01 12:31:48 +09:30
memdump.c lightningd: fix false positive in leak detection. 2024-08-04 11:47:54 +02:00
memdump.h lightningd: simplify memleak code. 2022-03-10 09:40:09 +10:30
notification.c core: notify plugins when a log line is emitted. 2024-05-17 13:03:12 -05:00
notification.h core: notify plugins when a log line is emitted. 2024-05-17 13:03:12 -05:00
offer.c lightningd: create new return code for enableoffer. 2024-08-11 11:27:10 +09:30
onchain_control.c lightningd: wait for onchaind to ack new spends before continuing replay. 2024-11-13 14:44:03 +10:30
onchain_control.h onchaind: remove 'is_replay' logic 2021-12-28 04:42:42 +10:30
onion_message.c BOLT catchup ("BOLT 4: clarify blinded path requirements.") 2024-10-16 07:14:32 +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 BOLT: update to include 2016 for max_htlc_cltv. 2024-05-09 16:14:23 -05:00
opening_common.h lightningd: pass disconnect flag to subd's errcb. 2023-10-23 15:48:50 +10:30
opening_control.c lightningd: rename state_change_entry to channel_state_change, and use pointers. 2024-09-21 06:20:18 +09:30
opening_control.h common: BOLT update: option_anchors_zero_fee_htlc_tx is now simply "option_anchors". 2024-06-19 15:54:24 +09:30
options.c config: add the ability for plugins to specify that config values should be concealed. 2024-11-13 08:49:55 +10:30
options.h lightningd: allow --recover to take a 64-char hex string. 2023-10-26 12:59:55 +10:30
pay.c lightningd: new command injectpaymentonion. 2024-10-27 13:57:50 +11:00
pay.h lightningd: refactor payment failed. 2024-10-27 13:57:50 +11:00
peer_control.c lightningd: only store channel funding spend txs into db. 2024-11-13 14:44:03 +10:30
peer_control.h close: Do not publish unilateral when witnessing a close onchain 2024-07-29 17:08:33 +02: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 lightningd: add option dev-strict-forwarding 2024-11-12 10:44:10 +01:00
peer_htlcs.h lightningd: new command injectpaymentonion. 2024-10-27 13:57:50 +11:00
ping.c rpc: Removing description from json_command struct 2024-07-31 14:42:58 +09:30
plugin_control.c rpc: Removing description from json_command struct 2024-07-31 14:42:58 +09:30
plugin_control.h plugins: add command field to subcommand output. 2021-06-25 09:49:33 +09:30
plugin_hook.c logging: move two noisy plugin_hook logging entries to TRACE 2024-05-08 21:05:49 -05:00
plugin_hook.h plugin: wire JSON id for commands which caused hooks to fire. 2022-09-16 12:31:45 +09:30
plugin.c config: add the ability for plugins to specify that config values should be concealed. 2024-11-13 08:49:55 +10:30
plugin.h lightningd: allow plugins to specify cancheck for us to pass check commands through. 2024-05-06 20:51:19 -05:00
routehint.c common/amount: rename amount_sat_zero/amount_msat_zerp -> amount_sat_is_zero/amount_msat_is_zero. 2024-09-19 12:16:53 +09:30
routehint.h invoice: overhaul routehints to use topology.listincoming, cleanup. 2021-06-16 10:29:17 +09:30
runes.c wire: rename "offer_node_id" to "offer_issuer_id" to match latest BOLT. 2024-08-01 12:31:48 +09:30
runes.h runes: ensure that uniqueid is a valid number. 2023-09-12 15:19:02 +09:30
signmessage.c rpc: Removing description from json_command struct 2024-07-31 14:42:58 +09:30
subd.c lightningd: allow subd_req() to take replycb_data arg. 2024-11-13 14:44:03 +10:30
subd.h lightningd: allow subd_req() to take replycb_data arg. 2024-11-13 14:44:03 +10:30
wait.c rpc: Removing description from json_command struct 2024-07-31 14:42:58 +09:30
wait.h lightningd: hook forwards into the wait system. 2023-10-28 15:48:26 +10:30
watch.c lightningd: handle duplicate watches on the same thing correctly. 2024-08-13 07:25:02 -07:00
watch.h lightningd: handle duplicate watches on the same thing correctly. 2024-08-13 07:25:02 -07:00