core-lightning/openingd
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
..
common.c openingd: remove #if DEVELOPER in favor of runtime flag. 2023-09-21 20:08:24 +09:30
common.h openingd: remove #if DEVELOPER in favor of runtime flag. 2023-09-21 20:08:24 +09:30
dualopend_wire.csv dual-fund: add require_confirmed_inputs to RBF flows 2024-02-11 10:46:40 +01:00
dualopend.c script: consistently take the script length in identification functions 2024-03-18 12:24:49 +10:30
Makefile tx_roles: allow to be serialized btw processes 2023-02-07 21:03:36 -06:00
openingd_wire.csv lightningd: add dev-any-channel-type to allow obsolete channel types. 2024-01-29 13:40:34 +10:30
openingd.c openingd: make channel-type rejection message clearer. 2024-01-29 13:40:34 +10:30