multi: return txns first and last indices
In this commit we introduce first and last indices for the tranasctions returned which can be used to seek for further transactions in a pagination style. Signed-off-by: Abdullahi Yunus <abdoollahikbk@gmail.com>
This commit is contained in:
1 parent
cd1df4ac34
commit
762d01536b
13 files changed
+3135
-3044
No files matched your search
@@ -403,7 +403,8 @@ type WalletController interface {
|
||||
// empty, transactions of all wallet accounts are returned.
|
||||
ListTransactionDetails(startHeight, endHeight int32,
|
||||
accountFilter string, indexOffset uint32,
|
||||
maxTransactions uint32) ([]*TransactionDetail, error)
|
||||
maxTransactions uint32) ([]*TransactionDetail, uint64, uint64,
|
||||
error)
|
||||
|
||||
// LeaseOutput locks an output to the given ID, preventing it from being
|
||||
// available for any future coin selection attempts. The absolute time
|
||||
|
||||
Reference in new issue
Block a user