refactor: move graph related DB code to graph/db from channeldb
This is a pure refactor commit. It moves over all the graph related CRUD code from `channeldb` to `graph/db`.
This commit is contained in:
57 files changed
+512
-299
No files matched your search
@@ -5,7 +5,7 @@ package devrpc
|
||||
|
||||
import (
|
||||
"github.com/btcsuite/btcd/chaincfg"
|
||||
"github.com/lightningnetwork/lnd/channeldb"
|
||||
graphdb "github.com/lightningnetwork/lnd/graph/db"
|
||||
"github.com/lightningnetwork/lnd/htlcswitch"
|
||||
)
|
||||
|
||||
@@ -16,6 +16,6 @@ import (
|
||||
// also be specified.
|
||||
type Config struct {
|
||||
ActiveNetParams *chaincfg.Params
|
||||
GraphDB *channeldb.ChannelGraph
|
||||
GraphDB *graphdb.ChannelGraph
|
||||
Switch *htlcswitch.Switch
|
||||
}
|
||||
Reference in new issue
Block a user