core-lightning/channeld
Rusty Russell 68a8eeea21 htlc_wire: rename malformed to failcode in struct failed_htlc.
I'm not completely convinced that it's only ever set to a failcode
with the BADONION bit set, especially after the previous patches in
this series.  Now that channeld can handle arbitrary failcodes passed
this way, simply rename it.

We add marshalling assertions that only one of failcode and failreason
is set, and we unmarshal an empty 'fail' to NULL (just the the
generated unmarshalling code does).

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2018-07-08 15:56:34 +02:00
..
test channeld: make channel_fulfill_htlc return the HTLC it fulfulled. 2018-07-08 15:56:34 +02:00
channel_wire.csv channeld: simplify announce/locked-in callback, 2018-05-19 15:52:56 -04:00
channel.c htlc_wire: rename malformed to failcode in struct failed_htlc. 2018-07-08 15:56:34 +02:00
channeld_htlc.h channeld: handle HTLCs failed by failcode uniformly. 2018-07-08 15:56:34 +02:00
commit_tx.c channeld: fix up BOLT references. 2018-06-18 12:31:09 +02:00
commit_tx.h Use expected LIGHTNING_DIR_FILE_H define 2018-03-25 23:54:21 +00:00
full_channel_error.h channeld: map htlc add/remove errors to names. 2018-02-19 02:56:51 +00:00
full_channel.c htlc_wire: rename malformed to failcode in struct failed_htlc. 2018-07-08 15:56:34 +02:00
full_channel.h channeld: make channel_fulfill_htlc return the HTLC it fulfulled. 2018-07-08 15:56:34 +02:00
Makefile gossipd/gossip_constants.h: Single place for BOLT constants. 2018-05-19 15:52:56 -04:00