rgb-cln/wallet/test
Rusty Russell 7fad7bccba common/amount: new types struct amount_msat and struct amount_sat.
They're generally used pass-by-copy (unusual for C structs, but
convenient they're basically u64) and all possibly problematic
operations return WARN_UNUSED_RESULT bool to make you handle the
over/underflow cases.

The new #include in json.h means we bolt11.c sees the amount.h definition
of MSAT_PER_BTC, so delete its local version.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2019-02-21 00:44:57 +00:00
..
.gitignore wallet: move tests into test/ dir like other unit tests. 2017-12-13 22:46:10 +01:00
Makefile db: save and restore last_sent_commit correctly. 2018-09-04 14:43:27 +02:00
run-db.c common/amount: new types struct amount_msat and struct amount_sat. 2019-02-21 00:44:57 +00:00
run-wallet.c common/amount: new types struct amount_msat and struct amount_sat. 2019-02-21 00:44:57 +00:00
test_utils.h Use expected LIGHTNING_DIR_FILE_H define 2018-03-25 23:54:21 +00:00