core-lightning/channeld
Rusty Russell a3c30441d3 channeld: order htlcs by id before retransmission.
We had one report of this, and then Eugene and Roasbeef of Lightning
Labs confirmed it; they saw misordered HTLCs on reconnection too.

Since we didn't enforce this when we receive HTLCs, we never noticed :(

Fixes: #3920
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Changelog-Fixed: Protocol: fixed retransmission order of multiple new HTLCs (causing channel close with LND)
2020-10-14 19:58:57 +10:30
..
test channel_id: save to database, dont derive from funding_txid 2020-09-09 19:54:20 +09:30
channeld_htlc.h Makefile: use completely separate spec-derived files for EXPERIMENTAL_FEATURES 2020-09-08 09:42:00 +09:30
channeld_wire.csv opening: pass two messages to channeld to send to peer 2020-09-09 19:54:20 +09:30
channeld_wiregen.c update SHA256STAMPs using sorted dependencies 2020-09-17 10:23:40 +09:30
channeld_wiregen.h update SHA256STAMPs using sorted dependencies 2020-09-17 10:23:40 +09:30
channeld.c channeld: order htlcs by id before retransmission. 2020-10-14 19:58:57 +10:30
commit_tx.c doc: update BOLT now option_anchor_outputs is merged. 2020-08-24 20:55:47 +09:30
commit_tx.h option_anchor_outputs: wire into all the subdaemons. 2020-08-14 11:51:14 +09:30
full_channel_error.h channeld: map htlc add/remove errors to names. 2018-02-19 02:56:51 +00:00
full_channel.c channeld: log broken message if we receive HTLCs out of order. 2020-10-14 19:58:57 +10:30
full_channel.h channel_id: save to database, dont derive from funding_txid 2020-09-09 19:54:20 +09:30
Makefile build: exclude dualopend from non-experimental builds 2020-09-09 19:54:20 +09:30
watchtower.c hsmd: convert to new wire generation style. 2020-08-25 12:53:13 +09:30
watchtower.h channeld: pass in HSM_FD as an argument to watchtower code. 2020-05-07 11:35:31 +02:00