core-lightning/wallet
Rusty Russell b07327a687 utxopsbt: new command to create PSBT from given utxos.
It's *possible* to do this using various RPC calls, but it's
unfriendly:

1. Call getinfo to get the current block height.
2. Call listfunds to map the UTXOs.
3. Create the PSBT and hope you get all the fields correct.

Instead, this presents an interface just like `fundpsbt`, with identical
returns.

I think it's different enough to justify a new command (though it
shares much internally, of course).

In particular, it's now quite simple to create a command which uses
specified utxos, and then adds more to meet any shortfall.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2020-08-18 12:52:41 +09:30
..
test utxo: keep flag to recognize to-remote option_anchor_outputs closes. 2020-08-14 11:51:14 +09:30
.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 utxo: keep flag to recognize to-remote option_anchor_outputs closes. 2020-08-14 11:51:14 +09:30
db.h sendpsbt: annotate transactions in wallet. 2020-08-13 12:37:02 -05: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: new JSON commands reserveinputs and unreserveinputs. 2020-07-15 18:49:02 +09:30
reservation.c utxopsbt: new command to create PSBT from given utxos. 2020-08-18 12:52:41 +09:30
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 utxo: keep flag to recognize to-remote option_anchor_outputs closes. 2020-08-14 11:51:14 +09:30
wallet.h channeld: implement htlc sig checking changes for option_anchor_outputs. 2020-08-14 11:51:14 +09:30
walletrpc.c listfunds: add "redeemscript" field. 2020-08-13 12:37:02 -05:00
walletrpc.h wallet: new JSON commands reserveinputs and unreserveinputs. 2020-07-15 18:49:02 +09:30