core-lightning/channeld
Rusty Russell f5ced1ddd5 channeld: handle malformed onion properly.
When the next node tells us the onion is malformed, we now actually
report the failcode to lightningd (rather than generating an invalid
error as we do now).

We could generate the onion at this point, but except we don't know
the shared secret; we'd have to plumb that through from the incoming
channeld's HTLC.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2019-01-08 19:20:28 +01:00
..
test commit_tx: make fee msat vs sat explicit. 2018-12-15 13:50:15 +01:00
channel_wire.csv channeld: get local peer features from lightningd. 2018-12-10 22:25:32 +00:00
channeld_htlc.h channeld: process onion packet ourselves. 2019-01-08 19:20:28 +01:00
channeld.c channeld: handle malformed onion properly. 2019-01-08 19:20:28 +01:00
commit_tx.c commit_tx: make fee msat vs sat explicit. 2018-12-15 13:50:15 +01:00
commit_tx.h channeld: htlcmap is never NULL. 2018-10-23 16:55:35 +02:00
full_channel_error.h channeld: map htlc add/remove errors to names. 2018-02-19 02:56:51 +00:00
full_channel.c commit_tx: make fee msat vs sat explicit. 2018-12-15 13:50:15 +01:00
full_channel.h channeld: Keep track of the chainparams for the chain we are using 2018-09-14 21:18:11 +02:00
Makefile channeld: don't assume we offered option_data_loss_protect. 2018-12-10 22:25:32 +00:00