mirror of
https://github.com/lightningnetwork/lnd.git
synced 2024-11-20 10:39:01 +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.
9 lines
148 B
YAML
9 lines
148 B
YAML
type: google.api.Service
|
|
config_version: 3
|
|
|
|
http:
|
|
rules:
|
|
- selector: devrpc.Dev.ImportGraph
|
|
post: "/v2/dev/importgraph"
|
|
body: "*"
|