core-lightning/channeld
Christian Decker 21355edc43 plugin: Do not send the internal framed message over the wire
Looks like #4394 treated a symptom but not the root cause. We were
actually sending the message framed with the WIRE_CUSTOMMSG_OUT and
the length prefix over the encrypted connection to the peer. It just
happened to be a valid custommsg...

This fixes the issue, and this time I made sure we actually send the
raw message over the wire. However for backward compatibility we
needed to imitate the faulty behavior which is 90% of this patch :-)

Changelog-Fixed: plugin: `dev-sendcustommsg` included the type and length prefix when sending a message.
2021-03-09 14:39:22 +10:30
..
test common/sphinx: make TOTAL_PACKET_SIZE a macro. 2020-12-11 15:51:24 +01:00
channeld_htlc.h Makefile: use completely separate spec-derived files for EXPERIMENTAL_FEATURES 2020-09-08 09:42:00 +09:30
channeld_wire.csv channeld: remove peer->psbt 2021-01-10 13:44:04 +01:00
channeld_wiregen.c tools/generate-wire.py: include digits in #ifndef idempotent header. 2021-01-13 14:45:36 +01:00
channeld_wiregen.h tools/generate-wire.py: include digits in #ifndef idempotent header. 2021-01-13 14:45:36 +01:00
channeld.c plugin: Do not send the internal framed message over the wire 2021-03-09 14:39:22 +10:30
commit_tx.c doc: update BOLT quotes (to include links for anchor outputs). 2021-02-25 13:23:16 +10:30
commit_tx.h option_anchor_outputs: wire into all the subdaemons. 2020-08-14 11:51:14 +09:30
full_channel_error.h Makefile: make check-includes check all the non-generated files. 2020-10-22 12:14:34 +10:30
full_channel.c check-includes: allow redundant "config.h" 2021-02-04 12:02:36 +10:30
full_channel.h common/sphinx: make TOTAL_PACKET_SIZE a macro. 2020-12-11 15:51:24 +01:00
Makefile billboard: break out common method for billboard updates 2021-01-10 13:44:04 +01:00
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