multi: modify listtxn definition

This commit modifies listtransactiondetails method definition to
take in additional params: index_offset and maxTxn
This commit is contained in:
Abdullahi Yunus committed 2024-11-22 08:21:27 +01:00
1 parent 037db4278a
commit cd1df4ac34
7 files changed
+36 -12

No files matched your search

+2 -1
View File
@@ -402,7 +402,8 @@ type WalletController interface {
// retrieve the transactions relevant to a specific account. When
// empty, transactions of all wallet accounts are returned.
ListTransactionDetails(startHeight, endHeight int32,
accountFilter string) ([]*TransactionDetail, error)
accountFilter string, indexOffset uint32,
maxTransactions uint32) ([]*TransactionDetail, error)
// LeaseOutput locks an output to the given ID, preventing it from being
// available for any future coin selection attempts. The absolute time