rgb-cln/lightningd
Christian Decker 8d5850029c core: Defer extracting the script until we're sure we'll use it
We were extracting the output script for all outputs, and discarding
them immediately again if they were not P2WSH outputs which are the
ones of interest to us. This patch move the extraction until after we
have determined it is useful, and so we should save a couple thousand
`tal()` and `tal_free()` calls.

Changelog-Changed: lightningd: Speed up blocksync by not parsing unused parts of the transactions
2024-02-09 14:53:29 +01:00
..
test channeld: notify lightningd once we've exchanged reestablish messages. 2024-01-31 14:47:33 +10:30
.gitignore Ignore all the deamon inside the git history 2021-10-28 15:51:38 +02:00
Makefile lightningd/channel_gossip: new file for handing and generating gossip for our channels. 2024-01-31 14:47:33 +10:30
anchorspend.c lightningd: rewrite anchor spend to use multiple UTXOs if needed. 2023-11-01 14:11:28 +10: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: mark all internal deprecations by version. 2024-01-26 10:30:22 +10:30
bitcoind.h lightningd: add context arg to bitcoind_sendrawtx() 2023-10-24 15:07:08 +10:30
chaintopology.c core: Defer extracting the script until we're sure we'll use it 2024-02-09 14:53:29 +01:00
chaintopology.h lightningd: call finished callback *every* time we re-xmit a transaction. 2023-10-24 15:07:08 +10:30
channel.c lightningd: set last_stable_connection 1 minute after channel reestablished. 2024-01-31 14:47:33 +10:30
channel.h lightningd: set last_stable_connection 1 minute after channel reestablished. 2024-01-31 14:47:33 +10:30
channel_control.c channeld: notify lightningd once we've exchanged reestablish messages. 2024-01-31 14:47:33 +10:30
channel_control.h lightningd: ignore gossip messages from channeld, switch to our own. 2024-01-31 14:47:33 +10:30
channel_gossip.c gossipd: don't validate UTXOs on our own channels. 2024-02-04 09:24:44 +10:30
channel_gossip.h lightingd: corrections from Alex Myers's review. 2024-01-31 14:47:33 +10:30
channel_state.h dual-fund: add new open-commit-ready state 2023-11-02 19:32:05 +10:30
closed_channel.c lightningd: expose last_stable_connection in RPC. 2024-01-31 14:47:33 +10:30
closed_channel.h lightningd: add last_stable_connection field to db, channel. 2024-01-31 14:47:33 +10:30
closing_control.c lightningd: ignore gossip messages from channeld, switch to our own. 2024-01-31 14:47:33 +10:30
closing_control.h lightningd: pass signed tx through to close callback. 2023-08-02 07:09:28 +09:30
coin_mvts.c coin_mvt: use the `lightning_hrp` for *all* coin movement currency 2023-12-05 20:30:09 -06:00
coin_mvts.h coin_mvt: tiny, dont import lightningd header 2022-02-07 13:02:09 +10:30
configs.c lightningd: mark all internal deprecations by version. 2024-01-26 10:30:22 +10:30
connect_control.c connectd: channel_gossip when we've tried to connect to all peers. 2024-01-31 14:47:33 +10:30
connect_control.h lightningd: stop all subds when we want to disconnect. 2023-10-23 15:48:50 +10:30
datastore.c lightningd: use param_check on all commands which do extra checks. 2023-10-26 12:59:55 +10:30
dual_open_control.c dualopend: remove channel_update message creation. 2024-01-31 14:47:33 +10:30
dual_open_control.h lightningd: simplify funding_depth_cb now it only handles main funding tx. 2023-10-02 11:41:19 +10:30
feerate.c lightningd: mark all internal deprecations by version. 2024-01-26 10:30:22 +10:30
feerate.h lightningd: clean up feerate handling, deprecate old terms. 2023-04-10 07:31:12 +09:30
forwards.c lightningd: clean up notification infrastructure. 2024-01-26 10:30:22 +10:30
forwards.h lightningd: clean up notification infrastructure. 2024-01-26 10:30:22 +10:30
gossip_control.c gossipd: don't validate UTXOs on our own channels. 2024-02-04 09:24:44 +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: don't generate node_announcements with identical timestamps. 2024-01-31 14:47:33 +10:30
gossip_generation.h lightningd: don't generate node_announcements with identical timestamps. 2024-01-31 14:47:33 +10:30
hsm_control.c options: make anchors enabled by default, ignore experimental-anchors. 2024-02-08 06:32:01 +10:30
hsm_control.h hsmd: rename "capabilities" flags for hsm fds to "permissions" 2023-08-08 14:31:47 +09:30
htlc_end.c lightningd: don't crash if peer manages to spend onchain HTLC after we've abandoned upstream. 2023-07-28 10:18:32 +09: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: split up peer_htlcs a little, create forwards.c 2023-10-28 15:48:26 +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 lightningd: mark all internal deprecations by version. 2024-01-26 10:30:22 +10:30
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
jsonrpc.c plugins: allow plugins to get per-connection deprecated state. 2024-01-26 10:30:22 +10:30
jsonrpc.h plugins: allow plugins to get per-connection deprecated state. 2024-01-26 10:30:22 +10:30
lightningd.c options: make anchors enabled by default, ignore experimental-anchors. 2024-02-08 06:32:01 +10:30
lightningd.h connectd: channel_gossip when we've tried to connect to all peers. 2024-01-31 14:47:33 +10:30
log.c common: make json_add_timeabs full precision & renamed json_add_time 2023-09-21 13:31:34 +09:30
log.h lightningd: have opt_log_level take the log_book. 2023-07-19 19:13:57 +09:30
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
memdump.c lightningd: use param_check on all commands which do extra checks. 2023-10-26 12:59:55 +10:30
memdump.h lightningd: simplify memleak code. 2022-03-10 09:40:09 +10:30
notification.c plugins: allow plugins to get per-connection deprecated state. 2024-01-26 10:30:22 +10:30
notification.h plugins: allow plugins to get per-connection deprecated state. 2024-01-26 10:30:22 +10:30
offer.c wallet: use standard-style iterators for payments. 2023-10-28 15:48:26 +10:30
onchain_control.c lightningd: use wallet_utxo_boost for zero-fee htlc_tx. 2023-11-01 14:11:28 +10:30
onchain_control.h onchaind: remove 'is_replay' logic 2021-12-28 04:42:42 +10:30
onion_message.c lightningd: use param_check on all commands which do extra checks. 2023-10-26 12:59:55 +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 lightningd: pass disconnect flag to subd's errcb. 2023-10-23 15:48:50 +10:30
opening_common.h lightningd: pass disconnect flag to subd's errcb. 2023-10-23 15:48:50 +10:30
opening_control.c lightningd: correctly handle case where we have no fee estimates opening anchor channel. 2024-02-08 06:32:01 +10:30
opening_control.h lightningd: prepare internal json routines for listpeerchannels. 2023-01-13 10:42:42 +10:30
options.c options: make anchors enabled by default, ignore experimental-anchors. 2024-02-08 06:32:01 +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: ignore gossip messages from channeld, switch to our own. 2024-01-31 14:47:33 +10:30
pay.h wallet: remove premature optimization when making payment. 2023-10-28 15:48:26 +10:30
peer_control.c lightningd: expose last_stable_connection in RPC. 2024-01-31 14:47:33 +10:30
peer_control.h common: move json_add_channel_type from lightningd/ 2024-01-29 13:40:34 +10:30
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: use explicit accessor to get channel_update for errors. 2024-01-31 14:47:33 +10:30
peer_htlcs.h lightningd: split up peer_htlcs a little, create forwards.c 2023-10-28 15:48:26 +10:30
ping.c lightningd: use param_check on all commands which do extra checks. 2023-10-26 12:59:55 +10:30
plugin.c plugins: allow plugins to get per-connection deprecated state. 2024-01-26 10:30:22 +10:30
plugin.h plugins: allow plugin options `deprecated` to be an array of strings. 2024-01-26 10:30:22 +10:30
plugin_control.c lightningd: use param_check on all commands which do extra checks. 2023-10-26 12:59:55 +10: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 re-enter transaction if we have to call plugin_exclusive_loop. 2023-10-25 10:53:48 +02:00
plugin_hook.h plugin: wire JSON id for commands which caused hooks to fire. 2022-09-16 12:31:45 +09:30
routehint.c lightningd: make listincoming use gossmods_from_listpeerchannels(). 2023-12-14 09:16:56 +10:30
routehint.h invoice: overhaul routehints to use topology.listincoming, cleanup. 2021-06-16 10:29:17 +09:30
runes.c lightningd: mark all internal deprecations by version. 2024-01-26 10:30:22 +10:30
runes.h runes: ensure that uniqueid is a valid number. 2023-09-12 15:19:02 +09:30
signmessage.c lightningd: use param_check on all commands which do extra checks. 2023-10-26 12:59:55 +10:30
subd.c lightningd: pass disconnect flag to subd's errcb. 2023-10-23 15:48:50 +10:30
subd.h lightningd: pass disconnect flag to subd's errcb. 2023-10-23 15:48:50 +10:30
wait.c lightningd: hook forwards into the wait system. 2023-10-28 15:48:26 +10:30
wait.h lightningd: hook forwards into the wait system. 2023-10-28 15:48:26 +10:30
watch.c track fallbacks for invoices, pt 1 2023-10-26 19:11:17 +10:30
watch.h lightningd: make watch_txid more generic. 2023-10-02 11:41:19 +10:30