diff --git a/watchtower/interface.go b/watchtower/interface.go new file mode 100644 index 000000000..59b1b8486 --- /dev/null +++ b/watchtower/interface.go @@ -0,0 +1,14 @@ +package watchtower + +import ( + "github.com/lightningnetwork/lnd/watchtower/lookout" + "github.com/lightningnetwork/lnd/watchtower/wtserver" +) + +// DB abstracts the persistent functionality required to run the watchtower +// daemon. It composes the database interfaces required by the lookout and +// wtserver subsystems. +type DB interface { + lookout.DB + wtserver.DB +}