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:
Abdullahi Yunus
2024-08-11 16:31:26 +01:00
parent cd1df4ac34
commit 762d01536b
13 changed files with 3135 additions and 3044 deletions

View File

@@ -187,9 +187,10 @@ func (w *WalletController) ListUnspentWitness(int32, int32,
// ListTransactionDetails currently returns dummy values.
func (w *WalletController) ListTransactionDetails(int32, int32,
string, uint32, uint32) ([]*lnwallet.TransactionDetail, error) {
string, uint32, uint32) ([]*lnwallet.TransactionDetail,
uint64, uint64, error) {
return nil, nil
return nil, 0, 0, nil
}
// LeaseOutput returns the current time and a nil error.