core-lightning/hsmd
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
..
hsmd_wire.csv hsmd: remove deprecated init v2 2024-02-27 14:04:44 +01:00
hsmd.c hsmd: remove deprecated init v2 2024-02-27 14:04:44 +01:00
libhsmd_status.c check: make sure all files outside contrib/ include "config.h" first. 2021-12-06 10:05:39 +10:30
libhsmd.c script: consistently take the script length in identification functions 2024-03-18 12:24:49 +10:30
libhsmd.h hsmd: increase the min version 2024-02-27 14:04:44 +01:00
Makefile hsmd: rename "capabilities" flags for hsm fds to "permissions" 2023-08-08 14:31:47 +09:30
permissions.h splice: Add hsmd_check_outpoint and hsmd_lock_outpoint 2023-10-26 16:42:47 +10:30