core-lightning/wallet
Tony Giorgio a5367773d5 wallet: Exclude uneconomical UTXOs from fundchannel
If a node has an onchain balance with at least one uneconomical UTXO, the fundchannel RPC call will lock up the node and will eventually crash it with OOM issues if the economical UTXO(s) do not add up to the fundchannel amount. This is because the while loop never exits because it keeps pulling in the same uneconomical UTXOs forever.

Changelog-Fixed: wallet: fundchannel no longer loops forever if the wallet contains insufficient funds, but an uneconomical UTXO.
2023-09-13 14:34:59 +09:30
..
test runes: ensure that uniqueid is a valid number. 2023-09-12 15:19:02 +09:30
.gitignore reorganize .gitignore entries across subdirs. 2021-05-18 09:43:50 +09:30
db.c db: migrate old runes table to fix up id fields. 2023-08-31 05:33:15 +09:30
db.h db: migrate old runes table to fix up id fields. 2023-08-31 05:33:15 +09:30
invoices.c lightningd: fix crash on startup expirations. 2023-07-31 20:42:31 +09:30
invoices.h lightningd: fix crash on startup expirations. 2023-07-31 20:42:31 +09: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 wallet: Exclude uneconomical UTXOs from fundchannel 2023-09-13 14:34:59 +09:30
txfilter.c txfilter_add_derkey: track p2tr scripts 2023-07-11 11:41:15 +09:30
txfilter.h txfilter_add_derkey: track p2tr scripts 2023-07-11 11:41:15 +09:30
wallet.c db: migrate old runes table to fix up id fields. 2023-08-31 05:33:15 +09:30
wallet.h runes: insert rune with correct id field. 2023-08-31 05:33:15 +09:30
walletrpc.c Support p2tr deposit addresses 2023-07-11 11:41:15 +09:30
walletrpc.h daemons: remove unused functions or make static. 2021-12-06 10:05:39 +10:30