watchtower/interface: adds composite DB iface
This commit is contained in:
parent
e0c652791b
commit
25daa538e2
14
watchtower/interface.go
Normal file
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
|
||||
}
|
Loading…
Reference in New Issue
Block a user