core-lightning/wallet
Rusty Russell e20ceba9e0 fundpsbt/utxopsbt: handle excess_as_change and all correctly.
If you did call fundpsbt with amount 'all' and `excess_as_change`
true, you would get everything going to the change output.  That's
obviously not the intention, and we'd like to use this to add change
outputs even for "all" when have keep emergency reserves.

And change the finish_psbt() API to take an explicit change amount:
at the moment it's either all or nothing, but that will change with
emergency-sat reserves.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2023-06-29 11:28:47 -04:00
..
test global: thread zero fee option everywhere. 2023-06-29 11:28:47 -04:00
.gitignore reorganize .gitignore entries across subdirs. 2021-05-18 09:43:50 +09:30
db.c Persist feature bits across restarts 2023-06-20 10:07:11 +09:30
db.h database: pull out database code into a new module 2022-03-05 15:03:34 +10:30
invoices.c wallet: don't try to set a timer past 2038 on 32-bit platforms. 2023-06-29 06:54:58 -04:00
invoices.h delinvoice: allow desconly arg to only remove the description. 2022-03-29 10:04:16 +10:30
Makefile wallet/psbt_fixup: routine to fix invalid PBSTs which modern libwally won't load. 2023-03-31 09:16:25 +10:30
psbt_fixup.c wallet/psbt_fixup: routine to fix invalid PBSTs which modern libwally won't load. 2023-03-31 09:16:25 +10:30
psbt_fixup.h wallet/psbt_fixup: routine to fix invalid PBSTs which modern libwally won't load. 2023-03-31 09:16:25 +10:30
reservation.c fundpsbt/utxopsbt: handle excess_as_change and all correctly. 2023-06-29 11:28:47 -04:00
txfilter.c all: no longer need to call htable_clear to free htable contents. 2023-01-12 11:44:10 +10:30
txfilter.h common: use bitcoin_outpoint. 2021-10-15 12:09:36 +02:00
wallet.c global: thread zero fee option everywhere. 2023-06-29 11:28:47 -04:00
wallet.h wallet: fix crash on listtransactions. 2023-05-29 18:41:46 +09:30
walletrpc.c listtransactions: remove annotations, which were only in EXPERIMENTAL_FEATURES. 2023-05-23 09:34:08 +09:30
walletrpc.h daemons: remove unused functions or make static. 2021-12-06 10:05:39 +10:30