mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-08 14:57:38 +02:00
channeldb: add k/v implementation for InvoiceDB.DeleteCanceledInvoices method
This commit is contained in:
@@ -95,6 +95,10 @@ type InvoiceDB interface {
|
||||
// deserialze them.
|
||||
DeleteInvoice(ctx context.Context,
|
||||
invoicesToDelete []InvoiceDeleteRef) error
|
||||
|
||||
// DeleteCanceledInvoices removes all canceled invoices from the
|
||||
// database.
|
||||
DeleteCanceledInvoices(ctx context.Context) error
|
||||
}
|
||||
|
||||
// Payload abstracts access to any additional fields provided in the final hop's
|
||||
|
Reference in New Issue
Block a user