mirror of
https://github.com/aljazceru/lightning.git
synced 2026-01-09 09:04:25 +01:00
Fixed doc format and rebase
Signed-off-by: Vincenzo Palazzo <vincenzopalazzodev@gmail.com>
This commit is contained in:
committed by
Rusty Russell
parent
dde25b712c
commit
d1c2c5c792
15
doc/lightning-listconfigs.7
generated
15
doc/lightning-listconfigs.7
generated
@@ -15,7 +15,9 @@ The \fBlistconfigs\fR teh RPC command to list all configuration options, or with
|
||||
{
|
||||
"id": 82,
|
||||
"method": "listconfigs",
|
||||
"params": {}
|
||||
"params": {
|
||||
"config": "network"
|
||||
}
|
||||
}
|
||||
.RE
|
||||
|
||||
@@ -28,7 +30,7 @@ On success, an object with the following proprieties is returned:
|
||||
.IP \[bu]
|
||||
\fI# version\fR: A string that rappresents the version of node\.
|
||||
.IP \[bu]
|
||||
\fIlightning-di\fR: A string that rappresents the work dir of the node\.
|
||||
\fIlightning-dir\fR: A string that rappresents the work dir of the node\.
|
||||
.IP \[bu]
|
||||
\fInetwork\fR: A string that rappresents the network (e\.g: bitcoin)\.
|
||||
.IP \[bu]
|
||||
@@ -115,17 +117,16 @@ On success, an object with the following proprieties is returned:
|
||||
.IP \[bu]
|
||||
\fIlog-level\fR: A string that rappresent the level of log\.
|
||||
.IP \[bu]
|
||||
\fIlog-prefix\fR: A string that rappresent the log prefix\.i
|
||||
|
||||
.RE
|
||||
|
||||
\fIlog-prefix\fR: A string that rappresent the log prefix\.
|
||||
On failure, one of the following error codes may be returned:
|
||||
|
||||
|
||||
.RS
|
||||
.IP \[bu]
|
||||
|
||||
-32602: Error in given parameters or field with \fIconfig\fR name doesn't exist\.
|
||||
|
||||
|
||||
|
||||
.RE
|
||||
.SH EXAMPLE JSON RESPONSE
|
||||
.nf
|
||||
|
||||
@@ -18,7 +18,9 @@ EXAMPLE JSON REQUEST
|
||||
{
|
||||
"id": 82,
|
||||
"method": "listconfigs",
|
||||
"params": {}
|
||||
"params": {
|
||||
"config": "network"
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
@@ -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.
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user