watchtower/interface: adds composite DB iface
This commit is contained in:
1 file changed
+14
@@ -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
|
||||||
|
}
|
||||||
Reference in new issue
Block a user