core-lightning/channeld
Jon Griffiths aa23c2a2b2 script: consistently take the script length in identification functions
Standardizes the is_xxx script function all take a script length, and changes
their first-level callers to pass it. This has several knock on benefits:

- We remove the repeated tal_count/tal_bytelen calls on the script, in
  particular the redundant calls that result when we must check for multiple
  types of script - which is almost all cases.
- We remove the dependency on the memory being tal-allocated (It is, in
  all cases, but theres no reason we need to require that).
- We remove all cases where we create a copy of the script just to id it.
- We remove all allocations for non-interesting scripts while iterating block
  txs in process_getfilteredblock_step1().
- We remove all allocations *including for potentially interesting scripts* in
  topo_add_utxos().

Signed-off-by: Jon Griffiths <jon_p_griffiths@yahoo.com>
2024-03-18 12:24:49 +10:30
..
test channeld: tell lightningd about local anchor for each commitment tx. 2023-10-27 11:19:56 +10:30
channeld_htlc.h channeld: remove dead HTLCs from htable and free them (eventually) 2023-01-20 14:04:08 -06:00
channeld_wire.csv lightningd: Add tx_abort routine to lightningd 2024-02-11 10:46:23 +01:00
channeld.c channeld: Splice resume check should log to DEBUG 2024-02-20 12:41:41 +10:30
channeld.h channeld: simply exit if hsmd vanishes. 2022-02-08 11:15:52 +10:30
commit_tx.c channeld: have commit_tx tell is what output was the other's anchor. 2023-10-27 11:19:56 +10:30
commit_tx.h channeld: have commit_tx tell is what output was the other's anchor. 2023-10-27 11:19:56 +10:30
full_channel_error.h dusty-htlcs: enforce limit on dusty htlcs 2021-10-23 12:59:13 +02:00
full_channel.c channeld: fix update_fee cap. 2024-02-13 15:47:48 +01:00
full_channel.h channeld: tell lightningd about local anchor for each commitment tx. 2023-10-27 11:19:56 +10:30
inflight.c splice: Reestablish when commit or sig sends fail 2023-11-20 07:35:22 +01:00
inflight.h splice: Reestablish when commit or sig sends fail 2023-11-20 07:35:22 +01:00
Makefile common: remote private_channel_announcement.[ch]. 2024-01-31 14:47:33 +10:30
splice.c splice: Add support for out-of-bound tx_sig 2024-02-11 10:46:23 +01:00
splice.h splice: Add support for out-of-bound tx_sig 2024-02-11 10:46:23 +01:00
watchtower.c script: consistently take the script length in identification functions 2024-03-18 12:24:49 +10:30
watchtower.h hsmd: Add wallet index metadata to existing messages 2022-03-10 10:22:29 +10:30