mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-03-04 09:48:19 +01:00
watchtower/interface: adds composite DB iface
This commit is contained in:
parent
e0c652791b
commit
25daa538e2
1 changed files with 14 additions and 0 deletions
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…
Add table
Reference in a new issue