rgb-cln/wallet
Rusty Russell c919551109 onchaind: include htlc id in htlc_stub so we agree on what HTLC we're closing.
If there are two HTLCs with the same preimage, lightningd would always
find the first one.  By including the id in the `struct htlc_stub`
it's both faster (normal HTLC lookup) and allows lightningd to detect
that onchaind wants to fail both of them.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2018-10-23 16:55:35 +02:00
..
test Rename `struct json_result` to `struct json_stream` (RENAMEONLY) 2018-10-19 22:02:11 +00:00
.gitignore wallet: Create and manage a sqlite3 database for the wallet 2017-06-06 09:16:10 +09:30
Makefile wallet: fix Makefile to include correct dependencies. 2018-09-14 22:11:48 +02:00
db.c common/json: move JSON creation routines into lightningd/ 2018-10-19 22:02:11 +00:00
db.h db: full location tags for callers, make it implicit. 2018-04-27 16:20:35 +02:00
invoices.c wallet: do wallet_invoice init during preparation. 2018-09-03 05:01:40 +00:00
invoices.h wallet: do wallet_invoice init during preparation. 2018-09-03 05:01:40 +00:00
txfilter.c common/utils.h: add tal_arr_expand helper. 2018-09-27 22:57:19 +02:00
txfilter.h Use expected LIGHTNING_DIR_FILE_H define 2018-03-25 23:54:21 +00:00
wallet.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
wallet.h jsonrpc: Only show total fees collected in getinfo. 2018-10-19 21:58:27 +00:00
walletrpc.c Rename `struct json_result` to `struct json_stream` (RENAMEONLY) 2018-10-19 22:02:11 +00:00
walletrpc.h Use expected LIGHTNING_DIR_FILE_H define 2018-03-25 23:54:21 +00:00