multi: specify start and end height for ListTransactionDetails
Add start and end height parameters to the rpc and cli GetTransactions endpoints. Default to returning all transactions from genesis to tip, including unconfirmed transactions to maintain backwards compatibility.
This commit is contained in:
10 files changed
+913
-736
No files matched your search
@@ -313,7 +313,7 @@ func (m *mockWalletController) ListUnspentWitness(minconfirms,
|
||||
ret = append(ret, utxo)
|
||||
return ret, nil
|
||||
}
|
||||
func (*mockWalletController) ListTransactionDetails() ([]*lnwallet.TransactionDetail, error) {
|
||||
func (*mockWalletController) ListTransactionDetails(_, _ int32) ([]*lnwallet.TransactionDetail, error) {
|
||||
return nil, nil
|
||||
}
|
||||
func (*mockWalletController) LockOutpoint(o wire.OutPoint) {}
|
||||
|
||||
Reference in new issue
Block a user