cln/wallet
Rusty Russell 1708fb91e5 wallet: clean up json output creation, part 2.
It looked like we weren't printing the address on closing outputs.

But we are, because the 'scriptPubkey' field is in the 'outputs' db
table since 0.7.3 (66a47d2761).

So make the logic clearer, and remove a completely bogus comment (UTXOs
with closing_info are definitely spendable!).

We export the json_add_utxos() for future use, too.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2020-07-06 19:25:05 +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.c psbt: don't crash if we can't add a partial sig 2020-06-23 14:49:32 +02:00
db.h psbt: database migration for converting last_tx to a psbt 2020-06-11 13:13:13 +02:00
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
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 bitcoin: add weight calculation helpers. 2020-07-06 19:25:05 +02:00
wallet.h wallet: have wallet_extract_outputs take wally_tx, not bitcoin_tx 2020-06-29 16:10:05 +02:00
walletrpc.c wallet: clean up json output creation, part 2. 2020-07-06 19:25:05 +02:00
walletrpc.h wallet: clean up json output creation, part 2. 2020-07-06 19:25:05 +02:00