core-lightning/wire
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 common/amount: new types struct amount_msat and struct amount_sat. 2019-02-21 00:44:57 +00:00
fromwire.c common/amount: new types struct amount_msat and struct amount_sat. 2019-02-21 00:44:57 +00:00
gen_onion_wire_csv bolt: Updated the BOLT specification to unify UNKNOWN_PAYMENT_HASH & INCORRECT_PAYMENT_AMOUNT 2019-01-15 02:19:56 +00:00
gen_peer_wire_csv gossipd: parse and respect optional htlc_maximum_msat 2018-10-09 23:22:52 +00:00
Makefile wire/Makefile: generate CSVs from specs based on BOLTVERSION. 2018-09-13 17:38:13 -07:00
onion_defs.h wire: add onion_defs.h to bolt-check, update quote. 2018-09-13 17:38:13 -07:00
peer_wire.c gossipd: handle ping messages for remote peers too. 2018-07-25 02:13:52 +00:00
peer_wire.h chainparams: Move the BOLT2 quote to the chainparams where we set it 2018-09-14 21:18:11 +02:00
towire.c common/amount: new types struct amount_msat and struct amount_sat. 2019-02-21 00:44:57 +00:00
wire_io.c Remove tal_len, use tal_count() or tal_bytelen(). 2018-07-30 11:31:17 +02:00
wire_io.h wire: Fix include order in wire_io.h 2017-09-29 14:40:34 +02:00
wire_sync.c Remove tal_len, use tal_count() or tal_bytelen(). 2018-07-30 11:31:17 +02:00
wire_sync.h wire_sync_write: support take() 2017-06-27 10:25:53 +09:30
wire.h common/amount: new types struct amount_msat and struct amount_sat. 2019-02-21 00:44:57 +00:00