mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-02-23 22:46:40 +01:00
20 lines
556 B
Go
20 lines
556 B
Go
|
//go:build dev
|
||
|
// +build dev
|
||
|
|
||
|
package devrpc
|
||
|
|
||
|
import (
|
||
|
"github.com/btcsuite/btcd/chaincfg"
|
||
|
"github.com/lightningnetwork/lnd/channeldb"
|
||
|
)
|
||
|
|
||
|
// Config is the primary configuration struct for the DEV RPC server. It
|
||
|
// contains all the items required for the rpc server to carry out its
|
||
|
// duties. Any fields with struct tags are meant to be parsed as normal
|
||
|
// configuration options, while if able to be populated, the latter fields MUST
|
||
|
// also be specified.
|
||
|
type Config struct {
|
||
|
ActiveNetParams *chaincfg.Params
|
||
|
GraphDB *channeldb.ChannelGraph
|
||
|
}
|