watchtower/interface: adds composite DB iface

This commit is contained in:
Conner Fromknecht 2019-01-11 18:32:41 -08:00
parent e0c652791b
commit 25daa538e2
No known key found for this signature in database
GPG Key ID: E7D737B67FA592C7

14
watchtower/interface.go Normal 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
}