Pull out generic interception logic

This commit is contained in:
Jesse de Wit
2022-11-17 16:23:27 +01:00
parent c738f817ac
commit 3d6d5bfb9d
4 changed files with 293 additions and 211 deletions

6
htlc_interceptor.go Normal file
View File

@@ -0,0 +1,6 @@
package main
type HtlcInterceptor interface {
Start() error
Stop() error
}