rgb-cln/gossipd
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
Makefile decode_short_ids: move to common. 2018-07-01 14:55:29 +02:00
broadcast.c gossip: Enable the consistency check only when really pedantic 2018-06-09 13:38:46 +02:00
broadcast.h gossip: Have the broadcast_state track its message count 2018-06-09 13:38:46 +02:00
gossip.c Update ccan/structeq. 2018-07-04 23:57:00 +02:00
gossip.h gossip/tor.c: new file for socks proxy code. 2018-05-10 02:28:44 +00:00
gossip_constants.h gossipd/gossip_constants.h: Single place for BOLT constants. 2018-05-19 15:52:56 -04:00
gossip_store.c gossip: Avoid integer count overflow in gossip_store 2018-06-18 12:04:25 +02:00
gossip_store.csv gossip_store: Save local_add_channel messages and replay them 2018-04-22 12:50:34 +02:00
gossip_store.h gossip: Have gossip_store annotate gossip messages 2018-06-09 13:38:46 +02:00
gossip_wire.csv gossip: Pass use_dns option down to gossipd 2018-06-21 11:21:16 +02:00
handshake.c Update to latest BOLT version. 2018-07-01 17:37:03 +02:00
handshake.h gossipd/lightningd: use wireaddr_internal. 2018-05-07 22:37:28 +02:00
netaddress.c netaddress: fix up IsTor() 2018-05-10 02:28:44 +00:00
netaddress.h gossipd: don't try to connect to non-routable addresses. 2018-05-07 22:37:28 +02:00
routing.c Update ccan/structeq. 2018-07-04 23:57:00 +02:00
routing.h gossipd: don't use raw secp256k1_pubkey in routing. 2018-07-04 23:57:00 +02:00
tor.c tor: log proxy communications using status_io. 2018-05-11 09:15:54 +00:00
tor.h gossipd: hand io_tor_connect the host as a string. 2018-05-11 09:15:54 +00:00
tor_autoservice.c gossipd: fix compile error, uninitialized variable 2018-06-20 21:25:03 +00:00
tor_autoservice.h gossipd: take over negotiation of autogenerated Tor addresses. 2018-05-10 02:28:44 +00:00