Files
lightning/common
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
..
2018-11-02 05:58:01 +00:00
2019-01-17 13:02:24 +01:00
2019-01-17 13:02:24 +01:00
2018-01-29 04:46:54 +00:00
2018-02-08 22:49:34 +01:00
2019-01-29 04:50:01 +00:00
2019-01-15 12:01:38 +01:00
2019-01-15 12:01:38 +01:00
2018-08-05 02:03:58 +00:00
2019-01-08 19:20:28 +01:00
2019-01-08 19:20:28 +01:00
2019-01-17 13:02:24 +01:00
2018-12-05 23:15:59 +00:00
2019-01-15 12:01:38 +01:00
2018-06-18 12:31:09 +02:00