multi: add DecorateInputs to WalletController interface

This commit adds the new DecorateInputs method of the base wallet to the
WalletController interface.
This commit is contained in:
Oliver Gugger committed 2024-02-23 08:58:10 +01:00
1 parent 90c2926fdf
commit 17645cd196
4 files changed
+28

No files matched your search

+6
View File
@@ -501,6 +501,12 @@ type WalletController interface {
// finalized successfully.
FinalizePsbt(packet *psbt.Packet, account string) error
// DecorateInputs fetches the UTXO information of all inputs it can
// identify and adds the required information to the package's inputs.
// The failOnUnknown boolean controls whether the method should return
// an error if it cannot identify an input or if it should just skip it.
DecorateInputs(packet *psbt.Packet, failOnUnknown bool) error
// SubscribeTransactions returns a TransactionSubscription client which
// is capable of receiving async notifications as new transactions
// related to the wallet are seen within the network, or found in