watchtower/interface: adds composite DB iface

This commit is contained in:
Conner Fromknecht committed 2019-01-14 19:42:33 -08:00
1 parent e0c652791b
commit 25daa538e2
1 file changed
+14
+14
View File
@@ -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
}