core-lightning/channeld
Rusty Russell 78b9ccf432 channeld: fix crash with pre-TLV peers.
send_tlvs is NULL if no special features are supported, and peer
sets `next_to_send` anyway:

```
0x5ed1c6719538 peer_reconnect
channeld/channeld.c:5205
0x5ed1c6719dab init_channel
channeld/channeld.c:5959
0x5ed1c6719f04 main
channeld/channeld.c:6005
```

Backport: v24.08
Fixes: https://github.com/ElementsProject/lightning/issues/7486
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2024-09-07 13:55:45 +02:00
..
test common: No longer support new channels without option_static_remotekey. 2024-06-19 15:54:24 +09:30
channeld.c channeld: fix crash with pre-TLV peers. 2024-09-07 13:55:45 +02:00
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 common: No longer support new channels without option_static_remotekey. 2024-06-19 15:54:24 +09:30
commit_tx.c global: change all type_to_string to fmt_X. 2024-03-20 13:51:48 +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.c channeld: BOLT update, no longer allow creation of old (experimental-only!) non-zero-fee anchor channels. 2024-06-19 15:54:24 +09:30
full_channel.h channeld: tell lightningd about local anchor for each commitment tx. 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
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 gossipd: delete empty gossipd_peerd_wire.csv 2024-07-10 12:21:19 +09: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 common: remove type_to_string files altogther. 2024-03-20 13:51:48 +10:30
watchtower.h hsmd: Add wallet index metadata to existing messages 2022-03-10 10:22:29 +10:30