core-lightning/channeld
Rusty Russell fed5a117e7 Update ccan/structeq.
structeq() is too dangerous: if a structure has padding, it can fail
silently.

The new ccan/structeq instead provides a macro to define foo_eq(),
which does the right thing in case of padding (which none of our
structures currently have anyway).

Upgrade ccan, and use it everywhere.  Except run-peer-wire.c, which
is only testing code and can use raw memcmp(): valgrind will tell us
if padding exists.

Interestingly, we still declared short_channel_id_eq, even though
we didn't define it any more!

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2018-07-04 23:57:00 +02:00
..
test channeld: fix up BOLT references. 2018-06-18 12:31:09 +02:00
channel_wire.csv channeld: simplify announce/locked-in callback, 2018-05-19 15:52:56 -04:00
channel.c Update ccan/structeq. 2018-07-04 23:57:00 +02:00
channeld_htlc.h Remove unused functions not covered by unit tests 2018-03-28 11:22:05 +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 Update ccan/structeq. 2018-07-04 23:57:00 +02:00
full_channel.h Use expected LIGHTNING_DIR_FILE_H define 2018-03-25 23:54:21 +00:00
Makefile gossipd/gossip_constants.h: Single place for BOLT constants. 2018-05-19 15:52:56 -04:00