rgb-cln/wallet
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
.gitignore wallet: Create and manage a sqlite3 database for the wallet 2017-06-06 09:16:10 +09:30
Makefile wallet: add check-source to makefile. 2018-03-07 18:55:51 +01:00
db.c db: full location tags for callers, make it implicit. 2018-04-27 16:20:35 +02:00
db.h db: full location tags for callers, make it implicit. 2018-04-27 16:20:35 +02:00
invoices.c Update ccan/structeq. 2018-07-04 23:57:00 +02:00
invoices.h invoice: Check duplicate preimage when explicitly sprcified. 2018-04-26 05:47:09 +00:00
txfilter.c Update ccan/structeq. 2018-07-04 23:57:00 +02:00
txfilter.h Use expected LIGHTNING_DIR_FILE_H define 2018-03-25 23:54:21 +00:00
wallet.c Update ccan/structeq. 2018-07-04 23:57:00 +02:00
wallet.h wallet: Return both min and max block heights 2018-06-06 03:30:02 +00:00
walletrpc.c Added error code parameter to command_fail 2018-05-26 12:17:36 +02:00
walletrpc.h Use expected LIGHTNING_DIR_FILE_H define 2018-03-25 23:54:21 +00:00