multi: Add utxo restriction for batchchannel openings.

Add utxo restrictions for psbt internal wallet funded lightning
channels. This also includes batchopening channels backed by the
internal wallet.
This commit is contained in:
ziggie committed 2024-04-24 13:58:20 +01:00
1 parent 62a52b4d7c
commit ab7634b276
5 files changed
+79 -7

No files matched your search

+2 -1
View File
@@ -468,7 +468,8 @@ type WalletController interface {
FundPsbt(packet *psbt.Packet, minConfs int32,
feeRate chainfee.SatPerKWeight, account string,
changeScope *waddrmgr.KeyScope,
strategy base.CoinSelectionStrategy) (int32, error)
strategy base.CoinSelectionStrategy,
allowUtxo func(wtxmgr.Credit) bool) (int32, error)
// SignPsbt expects a partial transaction with all inputs and outputs
// fully declared and tries to sign all unsigned inputs that have all