core-lightning/wire
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 Update ccan/structeq. 2018-07-04 23:57:00 +02:00
fromwire.c wire/*: fix up BOLT references. 2018-06-18 12:31:09 +02:00
gen_onion_wire_csv pay: make sure we don't think payment in progress if it immediately fails. 2017-12-19 14:40:26 +01:00
gen_peer_wire_csv wire: Update to lastest BOLT draft. 2018-06-06 03:25:56 +00:00
Makefile wire: remove --check-alignment arg from spec parsing tool. 2018-05-15 23:39:09 +00:00
onion_defs.h wire: split onion messages from peer wire messages. 2017-01-06 13:40:35 +10:30
peer_wire.c wire: Update to lastest BOLT draft. 2018-06-06 03:25:56 +00:00
peer_wire.h Update ccan/structeq. 2018-07-04 23:57:00 +02:00
towire.c utils: remove tal_tmpctx altogether, use global. 2018-03-16 00:16:10 +00:00
wire_io.c Remove include in file foo.c that is already included in foo.h 2018-03-25 23:54:21 +00:00
wire_io.h wire: Fix include order in wire_io.h 2017-09-29 14:40:34 +02:00
wire_sync.c wire: restore BE endian to wire headers for internal messages. 2017-09-29 14:40:34 +02:00
wire_sync.h wire_sync_write: support take() 2017-06-27 10:25:53 +09:30
wire.h Update ccan/structeq. 2018-07-04 23:57:00 +02:00