channeldb: add method to wipe all forwarding packages
This commit adds a method, Wipe, to remove all forwarding packages on disk for a given channel.
This commit is contained in:
3 files changed
+69
No files matched your search
@@ -5373,6 +5373,10 @@ func (*mockPackager) RemovePkg(tx kvdb.RwTx, height uint64) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (*mockPackager) Wipe(tx kvdb.RwTx) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (*mockPackager) AckSettleFails(tx kvdb.RwTx,
|
||||
settleFailRefs ...channeldb.SettleFailRef) error {
|
||||
return nil
|
||||
|
||||
Reference in new issue
Block a user