mirror of
https://github.com/lightningnetwork/lnd.git
synced 2024-11-19 18:10:34 +01:00
1a8f094503
This commits adds the devrpc package which implements a subserver that adds clean separation for RPC calls useful for development and debugging. This subserver is only compiled in if the dev tag is set. Furthermore the commit adds the devrpc.ImportGraph call which can import a graph dump obtained from another node by calling DescribeGraph. Since the graph dump does not include the auth proofs, the imported channels will be considered private.
8 lines
111 B
Go
8 lines
111 B
Go
//go:build !dev
|
|
// +build !dev
|
|
|
|
package devrpc
|
|
|
|
// Config is empty for non-devrpc builds.
|
|
type Config struct{}
|