rgb-cln/onchaind
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 onchaind: use lowball fee instead of donating to miners. 2018-06-21 13:43:32 +02:00
Makefile common/daemon: common routines for all daemons. 2018-04-03 14:03:28 +02:00
onchain.c Update ccan/structeq. 2018-07-04 23:57:00 +02:00
onchain_types.h onchaind: use lowball fee instead of donating to miners. 2018-06-21 13:43:32 +02:00
onchain_wire.c Update ccan/structeq. 2018-07-04 23:57:00 +02:00
onchain_wire.csv onchain: get feerate min/max from master. 2018-04-04 02:31:41 +00:00
onchain_wire.h Use expected LIGHTNING_DIR_FILE_H define 2018-03-25 23:54:21 +00:00