htlcswitch: add final htlc event to notifier
This commit is contained in:
21 files changed
+729
-404
No files matched your search
@@ -65,3 +65,11 @@ type UtxoSweeper interface {
|
||||
UpdateParams(input wire.OutPoint, params sweep.ParamsUpdate) (
|
||||
chan sweep.Result, error)
|
||||
}
|
||||
|
||||
// HtlcNotifier defines the notification functions that contract court requires.
|
||||
type HtlcNotifier interface {
|
||||
// NotifyFinalHtlcEvent notifies the HtlcNotifier that the final outcome
|
||||
// for an htlc has been determined.
|
||||
NotifyFinalHtlcEvent(key channeldb.CircuitKey,
|
||||
info channeldb.FinalHtlcInfo)
|
||||
}
|
||||
Reference in new issue
Block a user