core-lightning/wallet
Rusty Russell 6630b99cf7 lightningd: move local invoice resolution into invoice.c function.
We're going to make it async, so start by moving the core code into
invoice.c and having that directly call fail/success functions for the
htlc.

We add an extra check in fulfill_htlc() that the HTLC state is correct:
that can't happen now, but may once we're async.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2019-04-12 03:32:48 +00:00
..
test lightningd: move local invoice resolution into invoice.c function. 2019-04-12 03:32:48 +00:00
.gitignore wallet: Create and manage a sqlite3 database for the wallet 2017-06-06 09:16:10 +09:30
db.c wallet: Record the received_time and resolved_time for HTLCs 2019-04-10 23:48:39 +00:00
db.h db: Add timestamp primitives so we can store them in the DB 2019-04-10 23:48:39 +00:00
invoices.c db: create explicit separate API for select statements. 2019-04-08 01:56:17 +00:00
invoices.h wallet: use amount_sat/amount_msat. 2019-02-21 08:01:37 +00:00
Makefile wallet: fix Makefile to include correct dependencies. 2018-09-14 22:11:48 +02:00
txfilter.c pubkey: rename PUBKEY_DER_LEN to PUBKEY_CMPR_LEN. 2019-04-09 12:37:16 -07:00
txfilter.h pubkey: rename PUBKEY_DER_LEN to PUBKEY_CMPR_LEN. 2019-04-09 12:37:16 -07:00
wallet.c json-rpc: Include received and resolved time to listforward result 2019-04-10 23:48:39 +00:00
wallet.h json-rpc: Include received and resolved time to listforward result 2019-04-10 23:48:39 +00:00
walletrpc.c Use node_id everywhere for nodes. 2019-04-09 12:37:16 -07:00
walletrpc.h Use expected LIGHTNING_DIR_FILE_H define 2018-03-25 23:54:21 +00:00