rgb-cln/onchaind
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
..
test signature: wrap almost all signatures in struct bitcoin_signature. 2018-12-06 23:11:51 +01:00
Makefile common/amount: new types struct amount_msat and struct amount_sat. 2019-02-21 00:44:57 +00:00
onchain_types.h onchaind: use a point-of-last-resort if we see an unknown transaction. 2018-08-23 14:46:22 +02:00
onchain_wire.c onchaind: include htlc id in htlc_stub so we agree on what HTLC we're closing. 2018-10-23 16:55:35 +02:00
onchain_wire.csv onchaind: wire up dev_memleak. 2018-11-22 05:15:42 +00:00
onchain_wire.h onchaind: include htlc id in htlc_stub so we agree on what HTLC we're closing. 2018-10-23 16:55:35 +02:00
onchaind.c utils: make tal_arr_expand safer. 2019-01-15 12:01:38 +01:00