core-lightning/wallet
niftynei bb589e0eaf psbt: database migration for converting last_tx to a psbt
We update the `last_tx` in `channels` to be psbt format, instead
of a linearized transaction.

We need the amount of the input populated, which we have since
this is the 'funding' amount. Ideally we'd also populate the funding
scriptPubkey, but to do that we'd need to access the HSM module to fetch
our local funding pubkey, which isn't initialized at the time that the
database migrations are run.

Since the only field the HSM uses currently when signing these is the
amount field, it's ok to just leave it out.

needs a test!
2020-06-11 13:13:13 +02:00
..
test psbt: database migration for converting last_tx to a psbt 2020-06-11 13:13:13 +02:00
.gitignore wallet: Create and manage a sqlite3 database for the wallet 2017-06-06 09:16:10 +09:30
db_common.h db: Track the data_version in the database 2020-01-02 14:12:59 -06:00
db_postgres.c db: Implement postgres driver primitives 2019-09-22 02:03:43 +00:00
db_sqlite3.c db: unregister sqlite3 trace callback also in error case 2020-05-07 10:41:16 +09:30
db.c psbt: database migration for converting last_tx to a psbt 2020-06-11 13:13:13 +02:00
db.h psbt: database migration for converting last_tx to a psbt 2020-06-11 13:13:13 +02:00
invoices.c sort listinvoices and listsendpays by order of creation. 2020-05-29 15:30:59 +02:00
invoices.h wallet: add invoice features into db. 2019-11-24 23:33:17 +00:00
Makefile wallet/Makefile: fix dependency line. 2019-11-28 11:50:13 +01:00
txfilter.c common: tal_dup_talarr() helper. 2020-02-27 14:16:16 +10:30
txfilter.h pubkey: rename PUBKEY_DER_LEN to PUBKEY_CMPR_LEN. 2019-04-09 12:37:16 -07:00
wallet.c psbt: move channels.last_tx field to be a psbt 2020-06-11 13:13:13 +02:00
wallet.h coins: have we_fulfilled be fully 'ternary' 2020-05-12 15:46:58 +09:30
walletrpc.c wallet: show input txid in little endian for json_listtransactions 2020-05-22 15:11:51 +02:00
walletrpc.h Use expected LIGHTNING_DIR_FILE_H define 2018-03-25 23:54:21 +00:00