Skip to content

Commit

Permalink
Fixed doc format and rebase
Browse files Browse the repository at this point in the history
Signed-off-by: Vincenzo Palazzo <vincenzopalazzodev@gmail.com>
  • Loading branch information
vincenzopalazzo committed Sep 4, 2020
1 parent 1c64bec commit bc442f3
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 10 deletions.
15 changes: 8 additions & 7 deletions doc/lightning-listconfigs.7

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 7 additions & 3 deletions doc/lightning-listconfigs.7.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ EXAMPLE JSON REQUEST
{
"id": 82,
"method": "listconfigs",
"params": {}
"params": {
"config": "network"
}
}
```

Expand All @@ -28,7 +30,7 @@ RETURN VALUE
On success, an object with the following proprieties is returned:

- *# version*: A string that rappresents the version of node.
- *lightning-di*: A string that rappresents the work dir of the node.
- *lightning-dir*: A string that rappresents the work dir of the node.
- *network*: A string that rappresents the network (e.g: bitcoin).
- *allow-deprecated-apis*: A boolean value that rappresent if the deprecated api are avaible on the node.
- *rpc-file*: A string that rappresent the location of the rpc file.
Expand Down Expand Up @@ -70,7 +72,9 @@ On success, an object with the following proprieties is returned:
- *encrypted-hsm*: A boolean value that rappresent if the wallet is encrypted.
- *rpc-file-mode*: A string that rappresent the value rpc-file-mode.
- *log-level*: A string that rappresent the level of log.
- *log-prefix*: A string that rappresent the log prefix.
- *log-prefix*: A string that rappresent the log prefix.i


On failure, one of the following error codes may be returned:

- -32602: Error in given parameters or field with *config* name doesn't exist.
Expand Down

0 comments on commit bc442f3

Please sign in to comment.