rgb-cln/channeld
Rusty Russell 11df13e779 channeld: fix memleak where tx gets leaked.
We steal it onto "peer" where we should steal it onto the inflight:

```
label=struct bitcoin_tx
backtrace:
  ccan/ccan/tal/tal.c:477 (tal_alloc_)
  bitcoin/tx.c:612 (clone_bitcoin_tx)
  channeld/channeld.c:2163 (handle_peer_commit_sig)
  channeld/channeld.c:2191 (handle_peer_commit_sig)
  channeld/channeld.c:2831 (interactive_send_commitments)
  channeld/channeld.c:3814 (splice_initiator_user_finalized)
  channeld/channeld.c:3882 (splice_initiator_user_update)
  channeld/channeld.c:5651 (req_in)
  channeld/channeld.c:6044 (main)
  ../sysdeps/nptl/libc_start_call_main.h:58 (__libc_start_call_main)
  ../csu/libc-start.c:360 (__libc_start_main_impl)
parents:
  struct peer
```

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2023-10-04 07:45:57 +10:30
..
test bitcoin: remove DEVELOPER options. 2023-09-21 20:08:24 +09:30
Makefile channeld: Code to implement splicing 2023-07-31 21:00:22 +09:30
channeld.c channeld: fix memleak where tx gets leaked. 2023-10-04 07:45:57 +10:30
channeld.h channeld: simply exit if hsmd vanishes. 2022-02-08 11:15:52 +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 channeld: Code to implement splicing 2023-07-31 21:00:22 +09:30
commit_tx.c global: thread zero fee option everywhere. 2023-06-29 11:28:47 -04:00
commit_tx.h global: thread zero fee option everywhere. 2023-06-29 11:28:47 -04:00
full_channel.c common/daemon.c: remove #ifdef DEVELOPER in favor of runtime flag. 2023-09-21 20:08:24 +09:30
full_channel.h channeld: Code to implement splicing 2023-07-31 21:00:22 +09:30
full_channel_error.h dusty-htlcs: enforce limit on dusty htlcs 2021-10-23 12:59:13 +02:00
inflight.c splice: Fixes from splice-out test 2023-09-21 13:41:45 +09:30
inflight.h channeld: Code to implement splicing 2023-07-31 21:00:22 +09:30
splice.c channeld: replace `struct splice` with `struct splicing` for OpenBSD. 2023-08-03 13:43:35 +09:30
splice.h channeld: replace `struct splice` with `struct splicing` for OpenBSD. 2023-08-03 13:43:35 +09:30
watchtower.c Support p2tr deposit addresses 2023-07-11 11:41:15 +09:30
watchtower.h hsmd: Add wallet index metadata to existing messages 2022-03-10 10:22:29 +10:30