invoices+channeldb: add InvoiceUpdater interface and the KV impl
This commit introduces the InvoiceUpdater interface which is meant to abstract and assist the in-memory invoice update procedure with the accompanying database updates. These abstract updater steps will enable further refactoring later while also ensuring that a full SQL implementation of the InvoiceDB interface will be possible.
This commit is contained in:
2 files changed
+542
-405
No files matched your search
+506
-405
File diff suppressed because it is too large.
Load diff
Reference in new issue
Block a user