From 25daa538e2fe8879e4a5926e49d16119d76bf743 Mon Sep 17 00:00:00 2001 From: Conner Fromknecht Date: Fri, 11 Jan 2019 18:32:41 -0800 Subject: [PATCH] watchtower/interface: adds composite DB iface --- watchtower/interface.go | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 watchtower/interface.go diff --git a/watchtower/interface.go b/watchtower/interface.go new file mode 100644 index 000000000..59b1b8486 --- /dev/null +++ b/watchtower/interface.go @@ -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 +}