core-lightning/channeld/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
..
Makefile lightningd/test: move some tests to common/ and channeld/ 2018-12-06 23:11:51 +01:00
run-commit_tx.c common/amount: new types struct amount_msat and struct amount_sat. 2019-02-21 00:44:57 +00:00
run-full_channel.c common/amount: new types struct amount_msat and struct amount_sat. 2019-02-21 00:44:57 +00:00