rgb-cln/openingd
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 common/amount: new types struct amount_msat and struct amount_sat. 2019-02-21 00:44:57 +00:00
opening_wire.csv signature: wrap almost all signatures in struct bitcoin_signature. 2018-12-06 23:11:51 +01:00
openingd.c openingd: make sure we take utxos on success. 2018-12-29 13:24:12 +01:00