paymentsdb: add query to only fetch resolution type for HTLCs
This commit is contained in:
4 files changed
+45
No files matched your search
@@ -49,6 +49,7 @@ type SQLQueries interface {
|
||||
CountPayments(ctx context.Context) (int64, error)
|
||||
|
||||
FetchHtlcAttemptsForPayments(ctx context.Context, paymentIDs []int64) ([]sqlc.FetchHtlcAttemptsForPaymentsRow, error)
|
||||
FetchHtlcAttemptResolutionsForPayment(ctx context.Context, paymentID int64) ([]sql.NullInt32, error)
|
||||
FetchAllInflightAttempts(ctx context.Context) ([]sqlc.PaymentHtlcAttempt, error)
|
||||
FetchHopsForAttempts(ctx context.Context, htlcAttemptIndices []int64) ([]sqlc.FetchHopsForAttemptsRow, error)
|
||||
|
||||
|
||||
Reference in new issue
Block a user