Browse Source

doc: language tidyups and a few minor refinements.

Some additional detail was warranted in several places, though the
listconfigs is better off simply referring to lightningd-config.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Changelog-Fixed: doc: Many missing manual pages were completed
bump-pyln-proto
Rusty Russell 4 years ago
parent
commit
3a49320dd1
  1. 33
      doc/lightning-getinfo.7
  2. 32
      doc/lightning-getinfo.7.md
  3. 21
      doc/lightning-getlog.7
  4. 20
      doc/lightning-getlog.7.md
  5. 18
      doc/lightning-help.7
  6. 16
      doc/lightning-help.7.md
  7. 100
      doc/lightning-listconfigs.7
  8. 61
      doc/lightning-listconfigs.7.md
  9. 2
      doc/lightning-listfunds.7
  10. 30
      doc/lightning-listnodes.7
  11. 26
      doc/lightning-listnodes.7.md
  12. 27
      doc/lightning-listtransactions.7
  13. 26
      doc/lightning-listtransactions.7.md
  14. 2
      doc/lightning-newaddr.7
  15. 13
      doc/lightning-ping.7
  16. 12
      doc/lightning-ping.7.md
  17. 11
      doc/lightning-sendpsbt.7
  18. 10
      doc/lightning-sendpsbt.7.md
  19. 25
      doc/lightning-signpsbt.7
  20. 22
      doc/lightning-signpsbt.7.md
  21. 8
      doc/lightning-stop.7
  22. 7
      doc/lightning-stop.7.md

33
doc/lightning-getinfo.7

@ -7,7 +7,7 @@ lightning-getinfo - Command to receive all information about the c-lightning nod
.SH DESCRIPTION .SH DESCRIPTION
The \fBgetinfo\fR is a RPC command which is possible receive all node informations\. The \fBgetinfo\fR gives a summary of the current running node\.
.SH EXAMPLE JSON REQUEST .SH EXAMPLE JSON REQUEST
.nf .nf
@ -26,38 +26,38 @@ On success, an object with the following information is returned:
.RS .RS
.IP \[bu] .IP \[bu]
\fIid\fR: A string that rappresents the public key of the node\. It will rappresent the node on the public network\. \fIid\fR: A string that represents the public key of the node\. It will represents the node on the public network\.
.IP \[bu] .IP \[bu]
\fIalias\fR: A string that rappresents the alias of the node, by default is calculate from the public key (node id)\. \fIalias\fR: A string that represents the alias of the node, by default is calculate from the public key (node id)\. This is just for fun; the name can be anything and is not unique!
.IP \[bu] .IP \[bu]
\fIcolor\fR: A string that rappresents the color of the node\. \fIcolor\fR: A string that represents the preferred color of the node\.
.IP \[bu] .IP \[bu]
\fInum_peers\fR: An integer that rappresents the number of peer connect to the node\. \fInum_peers\fR: An integer that represents the number of peer connect to the node\.
.IP \[bu] .IP \[bu]
\fInum_pending_channels\fR: An integer that rappresents the number of channel with pending status\. \fInum_pending_channels\fR: An integer that represents the number of channel which are still awaiting opening confirmation\.
.IP \[bu] .IP \[bu]
\fInum_active_channels\fR: A integer that rappresents the number of channel with the active status\. \fInum_active_channels\fR: A integer that represents the number of channel which are currently open\.
.IP \[bu] .IP \[bu]
\fInum_inactive_channels\fR: A integer that rappresents the number of channel with the inactive status\. \fInum_inactive_channels\fR: A integer that represents the number of channel which are closing\.
.IP \[bu] .IP \[bu]
\fIaddress\fR: An array that rappresents all addresses of the node, each object inside the array contains the following proprieties:.RS \fIaddress\fR: An array that represents all published addresses of the node, each object inside the array contains the following proprieties:.RS
.IP \[bu] .IP \[bu]
\fItype\fR: A string that rappresents the type of the address (ipv4 or ipv6)\. \fItype\fR: A string that represents the type of the address (currently \fBipv4\fR, \fBipv6\fR, \fBtorv3\fR or \fBtorv4\fR)\.
.IP \[bu] .IP \[bu]
\fIaddress\fR: A string that rappresents the value of the address\. \fIaddress\fR: A string that represents the value of the address\.
.IP \[bu] .IP \[bu]
\fIport\fR: An integer that rappresents the port where the node are listening with this address\. \fIport\fR: An integer that represents the port where the node is listening with this address\.
.RE .RE
.IP \[bu] .IP \[bu]
\fIbinding\fR: An array that rappresents all addresses where the node is binded\. Each object contains the same object type of the address propriety above\. \fIbinding\fR: An array that represents all addresses where the node is binded\. Each object contains the same object type of the address propriety above\.
.IP \[bu] .IP \[bu]
\fIversion\fR: A string that rappresents the version of the node\. \fIversion\fR: A string that represents the version of the node\.
.IP \[bu] .IP \[bu]
\fIblockheight\fR: An integer that rappresents the blockchain height\. \fIblockheight\fR: An integer that represents the blockchain height\.
.IP \[bu] .IP \[bu]
\fInetwork\fR: A string that rappresents the type of network on the node are working (i\.e: bitcoin, testnet, regtest)\. \fInetwork\fR: A string that represents the type of network on the node are working (e\.g: \fBbitcoin\fR, \fBtestnet\fR, or \fBregtest\fR)\.
.RE .RE
@ -120,3 +120,4 @@ Vincenzo Palazzo \fI<vincenzo.palazzo@protonmail.com\fR> wrote the initial versi
Main web site: \fIhttps://github.com/ElementsProject/lightning\fR Main web site: \fIhttps://github.com/ElementsProject/lightning\fR
\" SHA256STAMP:9e6a0e0c25569bfc9d23b07e84392a3f70f6c94a86cd482fbf48c3d668a1796d

32
doc/lightning-getinfo.7.md

@ -9,7 +9,7 @@ SYNOPSIS
DESCRIPTION DESCRIPTION
----------- -----------
The **getinfo** is a RPC command which is possible receive all node informations. The **getinfo** gives a summary of the current running node.
EXAMPLE JSON REQUEST EXAMPLE JSON REQUEST
@ -27,21 +27,21 @@ RETURN VALUE
On success, an object with the following information is returned: On success, an object with the following information is returned:
- *id*: A string that rappresents the public key of the node. It will rappresent the node on the public network. - *id*: A string that represents the public key of the node. It will represents the node on the public network.
- *alias*: A string that rappresents the alias of the node, by default is calculate from the public key (node id). - *alias*: A string that represents the alias of the node, by default is calculate from the public key (node id). This is just for fun; the name can be anything and is not unique!
- *color*: A string that rappresents the color of the node. - *color*: A string that represents the preferred color of the node.
- *num_peers*: An integer that rappresents the number of peer connect to the node. - *num_peers*: An integer that represents the number of peer connect to the node.
- *num_pending_channels*: An integer that rappresents the number of channel with pending status. - *num_pending_channels*: An integer that represents the number of channel which are still awaiting opening confirmation.
- *num_active_channels*: A integer that rappresents the number of channel with the active status. - *num_active_channels*: A integer that represents the number of channel which are currently open.
- *num_inactive_channels*: A integer that rappresents the number of channel with the inactive status. - *num_inactive_channels*: A integer that represents the number of channel which are closing.
- *address*: An array that rappresents all addresses of the node, each object inside the array contains the following proprieties: - *address*: An array that represents all published addresses of the node, each object inside the array contains the following proprieties:
- *type*: A string that rappresents the type of the address (ipv4 or ipv6). - *type*: A string that represents the type of the address (currently `ipv4`, `ipv6`, `torv3` or `torv4`).
- *address*: A string that rappresents the value of the address. - *address*: A string that represents the value of the address.
- *port*: An integer that rappresents the port where the node are listening with this address. - *port*: An integer that represents the port where the node is listening with this address.
- *binding*: An array that rappresents all addresses where the node is binded. Each object contains the same object type of the address propriety above. - *binding*: An array that represents all addresses where the node is binded. Each object contains the same object type of the address propriety above.
- *version*: A string that rappresents the version of the node. - *version*: A string that represents the version of the node.
- *blockheight*: An integer that rappresents the blockchain height. - *blockheight*: An integer that represents the blockchain height.
- *network*: A string that rappresents the type of network on the node are working (i.e: bitcoin, testnet, regtest). - *network*: A string that represents the type of network on the node are working (e.g: `bitcoin`, `testnet`, or `regtest`).
On failure, one of the following error codes may be returned: On failure, one of the following error codes may be returned:

21
doc/lightning-getlog.7

@ -3,7 +3,7 @@
lightning-getlog - Command to show logs\. lightning-getlog - Command to show logs\.
.SH SYNOPSIS .SH SYNOPSIS
\fBgetlog\fR [level] \fBgetlog\fR [\fIlevel\fR]
.SH DESCRIPTION .SH DESCRIPTION
@ -11,7 +11,7 @@ The \fBgetlog\fR the RPC command to show logs, with optional log \fIlevel\fR\.
.RS .RS
.IP \[bu] .IP \[bu]
\fIlevel\fR: A string that rappresent the log level (info, unusual, debug, io)\. \fIlevel\fR: A string that represents the log level (\fIbroken\fR, \fIunusual\fR, \fIinfo\fR, \fIdebug\fR, or \fIio\fR)\. The default is \fIinfo\fR\.
.RE .RE
.SH EXAMPLE JSON REQUEST .SH EXAMPLE JSON REQUEST
@ -33,21 +33,21 @@ On success, a object will be return with the following parameters:
.RS .RS
.IP \[bu] .IP \[bu]
\fIcreated_at\fR: An floating point value that rappresent the {}\. \fIcreated_at\fR: An floating point value that represents the UNIX timestamp when logging began\.
.IP \[bu] .IP \[bu]
\fIbytes_used\fR: A string that rappresent the dimension in bytes of the log file\. \fIbytes_used\fR: A string that represents the dimension in bytes of the log file\.
.IP \[bu] .IP \[bu]
\fIbytes_max\fR: An integer that rappresent the max dimension in bytes of log file\. \fIbytes_max\fR: An integer that represents the max dimension in bytes of log file\.
.IP \[bu] .IP \[bu]
\fIlog\fR: An array of object where each elements contains the following proprieties:.RS \fIlog\fR: An array of objects where each element contains the following proprieties:.RS
.IP \[bu] .IP \[bu]
\fItype\fR: A string that rappresent the log level\. The propriety can have an value equal to SKIPPED\. \fItype\fR: A string that represents the log level\. The propriety can have an value equal to SKIPPED to indicate the existence of omitted entries\.
.IP \[bu] .IP \[bu]
\fItime\fR: A floating point value that rappresent the time\. \fItime\fR: A floating point value that represents the time since \fIcreated_at\fR\.
.IP \[bu] .IP \[bu]
\fIsource\fR: A string that rappresent the source of line\. \fIsource\fR: A string that represents the source of line\.
.IP \[bu] .IP \[bu]
\fIlog\fR: A string that rappresent the content of line\. \fIlog\fR: A string that represents the content of line\.
.RE .RE
@ -94,3 +94,4 @@ Vincenzo Palazzo \fI<vincenzo.palazzo@protonmail.com\fR> wrote the initial versi
Main web site: \fIhttps://github.com/ElementsProject/lightning\fR Main web site: \fIhttps://github.com/ElementsProject/lightning\fR
\" SHA256STAMP:789e23927120d0fefd374592a3c655244fd6c28a122368bdd8da2f3cdde66798

20
doc/lightning-getlog.7.md

@ -4,14 +4,14 @@ lightning-getlog -- Command to show logs.
SYNOPSIS SYNOPSIS
-------- --------
**getlog** \[level\] **getlog** \[*level*\]
DESCRIPTION DESCRIPTION
----------- -----------
The **getlog** the RPC command to show logs, with optional log *level*. The **getlog** the RPC command to show logs, with optional log *level*.
- *level*: A string that rappresent the log level (info, unusual, debug, io). - *level*: A string that represents the log level (*broken*, *unusual*, *info*, *debug*, or *io*). The default is *info*.
EXAMPLE JSON REQUEST EXAMPLE JSON REQUEST
-------------------- --------------------
@ -30,14 +30,14 @@ RETURN VALUE
On success, a object will be return with the following parameters: On success, a object will be return with the following parameters:
- *created_at*: An floating point value that rappresent the {}. - *created_at*: An floating point value that represents the UNIX timestamp when logging began.
- *bytes_used*: A string that rappresent the dimension in bytes of the log file. - *bytes_used*: A string that represents the dimension in bytes of the log file.
- *bytes_max*: An integer that rappresent the max dimension in bytes of log file. - *bytes_max*: An integer that represents the max dimension in bytes of log file.
- *log*: An array of object where each elements contains the following proprieties: - *log*: An array of objects where each element contains the following proprieties:
- *type*: A string that rappresent the log level. The propriety can have an value equal to SKIPPED. - *type*: A string that represents the log level. The propriety can have an value equal to SKIPPED to indicate the existence of omitted entries.
- *time*: A floating point value that rappresent the time. - *time*: A floating point value that represents the time since *created_at*.
- *source*: A string that rappresent the source of line. - *source*: A string that represents the source of line.
- *log*: A string that rappresent the content of line. - *log*: A string that represents the content of line.
- *num_skipped*: An integer that it is present only if the log level is equal to SKIPPED. - *num_skipped*: An integer that it is present only if the log level is equal to SKIPPED.

18
doc/lightning-help.7

@ -3,11 +3,16 @@
lightning-help - Command to return all information about RPC commands\. lightning-help - Command to return all information about RPC commands\.
.SH SYNOPSIS .SH SYNOPSIS
\fBhelp\fR \fBhelp\fR [\fIcommand\\\fR]
.SH DESCRIPTION .SH DESCRIPTION
The \fBhelp\fR is a RPC command which is possible consult all information about the RPC commands\. The \fBhelp\fR is a RPC command which is possible consult all information about the RPC commands, or a specific command if \fIcommand\fR is given\.
Note that the \fBlightning-cli\fR(1) tool will prefer to list a man page when a
specific \fIcommand\fR is specified, and will only return the JSON if the man
page is not found\.
.SH EXAMPLE JSON REQUEST .SH EXAMPLE JSON REQUEST
.nf .nf
@ -26,13 +31,13 @@ On success, a object will be return with the following proprieties:
.RS .RS
.IP \[bu] .IP \[bu]
\fIcommand\fR: A string that rappresent the stucture of the command\. \fIcommand\fR: A string that represents the stucture of the command\.
.IP \[bu] .IP \[bu]
\fIcategory\fR: A string that rappresent the category\. \fIcategory\fR: A string that represents the category\.
.IP \[bu] .IP \[bu]
\fIdescription\fR: A string that rappresent the description\. \fIdescription\fR: A string that represents the description\.
.IP \[bu] .IP \[bu]
\fIverbose\fR: A string that rappresent the verbode description\. \fIverbose\fR: A string that represents the verbode description\.
.RE .RE
@ -67,3 +72,4 @@ Vincenzo Palazzo \fI<vincenzo.palazzo@protonmail.com\fR> wrote the initial versi
Main web site: \fIhttps://github.com/ElementsProject/lightning\fR Main web site: \fIhttps://github.com/ElementsProject/lightning\fR
\" SHA256STAMP:cbd027bd9117d2e71167ab1c9d95a63c90b8e9c556dd75e951d4913a2891cb37

16
doc/lightning-help.7.md

@ -4,12 +4,16 @@ lightning-help -- Command to return all information about RPC commands.
SYNOPSIS SYNOPSIS
-------- --------
**help** **help** \[*command\*]
DESCRIPTION DESCRIPTION
----------- -----------
The **help** is a RPC command which is possible consult all information about the RPC commands. The **help** is a RPC command which is possible consult all information about the RPC commands, or a specific command if *command* is given.
Note that the lightning-cli(1) tool will prefer to list a man page when a
specific *command* is specified, and will only return the JSON if the man
page is not found.
EXAMPLE JSON REQUEST EXAMPLE JSON REQUEST
-------------------- --------------------
@ -26,10 +30,10 @@ RETURN VALUE
On success, a object will be return with the following proprieties: On success, a object will be return with the following proprieties:
- *command*: A string that rappresent the stucture of the command. - *command*: A string that represents the stucture of the command.
- *category*: A string that rappresent the category. - *category*: A string that represents the category.
- *description*: A string that rappresent the description. - *description*: A string that represents the description.
- *verbose*: A string that rappresent the verbode description. - *verbose*: A string that represents the verbode description.
On failure, one of the following error codes may be returned: On failure, one of the following error codes may be returned:

100
doc/lightning-listconfigs.7

@ -7,7 +7,7 @@ lightning-listconfigs - Command to list all configuration options\.
.SH DESCRIPTION .SH DESCRIPTION
The \fBlistconfigs\fR teh RPC command to list all configuration options, or with \fIconfig\fR, just that one\. The \fBlistconfigs\fR RPC command to list all configuration options, or with \fIconfig\fR, just that one\.
.SH EXAMPLE JSON REQUEST .SH EXAMPLE JSON REQUEST
.nf .nf
@ -24,100 +24,29 @@ The \fBlistconfigs\fR teh RPC command to list all configuration options, or with
.fi .fi
.SH RETURN VALUE .SH RETURN VALUE
On success, an object with the following proprieties is returned: On success, an object is returned with members reflecting the
corresponding \fBlightningd-config\fR(5) options which were specified in
the configuration file(s) and command line\.
Additional members include:
.RS .RS
.IP \[bu] .IP \[bu]
\fI# version\fR: A string that rappresents the version of node\. \fI# version\fR: A string that represents the version of node\.
.IP \[bu]
\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]
\fIallow-deprecated-apis\fR: A boolean value that rappresent if the deprecated api are avaible on the node\.
.IP \[bu] .IP \[bu]
\fIrpc-file\fR: A string that rappresent the location of the rpc file\. \fIplugins\fR: A array that represents the non-important plugin registered\. Each object contains the following members:.RS
.IP \[bu] .IP \[bu]
\fIplugins\fR: A array that rappresent the no important plugin registered\. Each object contains the following proprieties:.RS \fIpath\fR: A string that represents the path of plugin\.
.IP \[bu] .IP \[bu]
\fIpath\fR: A string that rappresent the path of plugin\. \fIname\fR: A string that represents the name of plugin\.
.IP \[bu] .IP \[bu]
\fIname\fR: A string that rappresent the name of plugin\. \fIoptions\fR: A object that contains all options accepted from command line or configuration file, if the plugin has opitions
.IP \[bu]
\fIoptions\fR: A object that contains all options accepted from comand line, if the plugin accepted parameters from command line\.
.RE .RE
.IP \[bu] .IP \[bu]
\fIimportant-plugins\fR: An array that rappresent all important pluging registered to the node\. Each object contains the same proprieties of \fIplugin\fR array\. \fIimportant-plugins\fR: An array that represents all important plugins registered to the node\. Each object contains the same members as the \fIplugin\fR array\.
.IP \[bu]
\fIdisable-plugin\fR: An array of string that rappresent the name of plugin disabled\.
.IP \[bu]
\fIalways-use-proxy\fR: A boolean value that rappresent if the node utilize always the proxy\.
.IP \[bu]
\fIdaemon\fR: A boolean value is the node have the daemon propriety enabled\.
.IP \[bu]
\fIwallet\fR: A string that rappresent the location of wallet with database url convention\.
.IP \[bu]
\fIwumbo\fR: A boolean value that rappresent the value of wumbo propriety\.
.IP \[bu]
\fIrgb\fR: A string that rappresent the color of the node\.
.IP \[bu]
\fIalias\fR: A string that rappresent the alias of the node\.
.IP \[bu]
\fIpid-file\fR: A string that rappresent the location of the pid file\.
.IP \[bu]
\fIignore-fee-limits\fR: A boolean value that rappresent is the node ignore the fee limit\.
.IP \[bu]
\fIwatchtime-blocks\fR: An integer that rappresent the watchtime of the blocks\.
.IP \[bu]
\fImax-locktime-blocks\fR: A integer that rappresent that max locktime for blocks\.
.IP \[bu]
\fIfunding-confirms\fR: An integer that rappresent the number of funding transaction confermation\.
.IP \[bu]
\fIcommit-fee-min\fR: A integer that rappresent the minimum commit fee\.
.IP \[bu]
\fIcommit-fee-max\fR: A integer that rappresent the maximum commit fee\.
.IP \[bu]
\fIcltv-delta\fR: An integer that rappresent the value of cltv delta\.
.IP \[bu]
\fIcltv-final\fR: An integer that rappresent the value of cltv final\.
.IP \[bu]
\fIcommit-time\fR: An integer that rappresent the value of commit time\.
.IP \[bu]
\fIfee-base\fR: A integer that rappresent the value of fee base\.
.IP \[bu]
\fIrescan\fR: A integer that rappresent the number of block that the node must rescan before to run\.
.IP \[bu]
\fIfee-per-satoshi\fR: An integer that rappresent the fee for satoshi\.
.IP \[bu]
\fImax-concurrent-htlcs\fR: A integer that rappresent the number of HTLCs one channel can handle concurrently in each direction\.
.IP \[bu]
\fImin-capacity-sat\fR: A integer that rappresent the minimal effective channel capacity in satoshi to accept for channel opening requests\.
.IP \[bu]
\fIaddr\fR: A string that rappresent the address where the node are listen\.
.IP \[bu]
\fIbind-addr\fR: A string that rappresent the address or UNIX domine socket where the node are listen\.
.IP \[bu]
\fIannounce-addr\fR: A string that rappresent the address where the node is annunced\.
.IP \[bu]
\fIoffline\fR: A boolean value that rappresent if the node is offline\.
.IP \[bu]
\fIautolisten\fR: A boolean value that rappresent if the autolisten is enabled\.
.IP \[bu]
\fIproxy\fR: A string that rappresent the proxy address\.
.IP \[bu]
\fIdisable-dns\fR: A boolean value that rappresent if the dns is disabled\.
.IP \[bu]
\fIenable-autotor-v2-mode\fR: A boolean value that rappresent if the Tor v2 is enabled\.
.IP \[bu]
\fIencrypted-hsm\fR: A boolean value that rappresent if the wallet is encrypted\.
.IP \[bu]
\fIrpc-file-mode\fR: A string that rappresent the value rpc-file-mode\.
.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 .RE
@ -229,9 +158,10 @@ Vincenzo Palazzo \fI<vincenzo.palazzo@protonmail.com\fR> wrote the initial versi
.SH SEE ALSO .SH SEE ALSO
\fBlightning-getinfo\fR(7) \fBlightning-getinfo\fR(7), \fBlightningd-config\fR(5)
.SH RESOURCES .SH RESOURCES
Main web site: \fIhttps://github.com/ElementsProject/lightning\fR Main web site: \fIhttps://github.com/ElementsProject/lightning\fR
\" SHA256STAMP:19542af1d9c13e31ec6fada46f85a080433c2c7a863779a8b9e3ac86a5903b48

61
doc/lightning-listconfigs.7.md

@ -9,7 +9,7 @@ SYNOPSIS
DESCRIPTION DESCRIPTION
----------- -----------
The **listconfigs** teh RPC command to list all configuration options, or with *config*, just that one. The **listconfigs** RPC command to list all configuration options, or with *config*, just that one.
EXAMPLE JSON REQUEST EXAMPLE JSON REQUEST
-------------------- --------------------
@ -27,53 +27,18 @@ EXAMPLE JSON REQUEST
RETURN VALUE RETURN VALUE
------------ ------------
On success, an object with the following proprieties is returned: On success, an object is returned with members reflecting the
corresponding lightningd-config(5) options which were specified in
- *# version*: A string that rappresents the version of node. the configuration file(s) and command line.
- *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.
- *plugins*: A array that rappresent the no important plugin registered. Each object contains the following proprieties:
- *path*: A string that rappresent the path of plugin.
- *name*: A string that rappresent the name of plugin.
- *options*: A object that contains all options accepted from comand line, if the plugin accepted parameters from command line.
- *important-plugins*: An array that rappresent all important pluging registered to the node. Each object contains the same proprieties of *plugin* array.
- *disable-plugin*: An array of string that rappresent the name of plugin disabled.
- *always-use-proxy*: A boolean value that rappresent if the node utilize always the proxy.
- *daemon*: A boolean value is the node have the daemon propriety enabled.
- *wallet*: A string that rappresent the location of wallet with database url convention.
- *wumbo*: A boolean value that rappresent the value of wumbo propriety.
- *rgb*: A string that rappresent the color of the node.
- *alias*: A string that rappresent the alias of the node.
- *pid-file*: A string that rappresent the location of the pid file.
- *ignore-fee-limits*: A boolean value that rappresent is the node ignore the fee limit.
- *watchtime-blocks*: An integer that rappresent the watchtime of the blocks.
- *max-locktime-blocks*: A integer that rappresent that max locktime for blocks.
- *funding-confirms*: An integer that rappresent the number of funding transaction confermation.
- *commit-fee-min*: A integer that rappresent the minimum commit fee.
- *commit-fee-max*: A integer that rappresent the maximum commit fee.
- *cltv-delta*: An integer that rappresent the value of cltv delta.
- *cltv-final*: An integer that rappresent the value of cltv final.
- *commit-time*: An integer that rappresent the value of commit time.
- *fee-base*: A integer that rappresent the value of fee base.
- *rescan*: A integer that rappresent the number of block that the node must rescan before to run.
- *fee-per-satoshi*: An integer that rappresent the fee for satoshi.
- *max-concurrent-htlcs*: A integer that rappresent the number of HTLCs one channel can handle concurrently in each direction.
- *min-capacity-sat*: A integer that rappresent the minimal effective channel capacity in satoshi to accept for channel opening requests.
- *addr*: A string that rappresent the address where the node are listen.
- *bind-addr*: A string that rappresent the address or UNIX domine socket where the node are listen.
- *announce-addr*: A string that rappresent the address where the node is annunced.
- *offline*: A boolean value that rappresent if the node is offline.
- *autolisten*: A boolean value that rappresent if the autolisten is enabled.
- *proxy*: A string that rappresent the proxy address.
- *disable-dns*: A boolean value that rappresent if the dns is disabled.
- *enable-autotor-v2-mode*: A boolean value that rappresent if the Tor v2 is enabled.
- *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.i
Additional members include:
- *# version*: A string that represents the version of node.
- *plugins*: A array that represents the non-important plugin registered. Each object contains the following members:
- *path*: A string that represents the path of plugin.
- *name*: A string that represents the name of plugin.
- *options*: A object that contains all options accepted from command line or configuration file, if the plugin has opitions
- *important-plugins*: An array that represents all important plugins registered to the node. Each object contains the same members as the *plugin* array.
On failure, one of the following error codes may be returned: On failure, one of the following error codes may be returned:
@ -183,7 +148,7 @@ Vincenzo Palazzo <<vincenzo.palazzo@protonmail.com>> wrote the initial version o
SEE ALSO SEE ALSO
-------- --------
lightning-getinfo(7) lightning-getinfo(7), lightningd-config(5)
RESOURCES RESOURCES
--------- ---------

2
doc/lightning-listfunds.7

@ -88,4 +88,4 @@ Felix \fI<fixone@gmail.com\fR> is mainly responsible\.
Main web site: \fIhttps://github.com/ElementsProject/lightning\fR Main web site: \fIhttps://github.com/ElementsProject/lightning\fR
\" SHA256STAMP:3f4f346ab97ae18e5c38a641def243716c07979c81168e093f7b6b8089c9bd1d \" SHA256STAMP:d7b4a30a1ca19e772529fbe517fb73e8c0d5c07ec3c05969ab614a4abc1865a4

30
doc/lightning-listnodes.7

@ -1,13 +1,13 @@
.TH "LIGHTNING-LISTNODES" "7" "" "" "lightning-listnodes" .TH "LIGHTNING-LISTNODES" "7" "" "" "lightning-listnodes"
.SH NAME .SH NAME
lightning-listnodes - Command to get the list of nodes in the own node network\. lightning-listnodes - Command to get the list of nodes in the known network\.
.SH SYNOPSIS .SH SYNOPSIS
\fBlistnodes\fR [id] \fBlistnodes\fR [id]
.SH DESCRIPTION .SH DESCRIPTION
The \fBlistnodes\fR command returns nodes in the own node network, or a single one if the node \fIid\fR was specified\. The \fBlistnodes\fR command returns nodes the node has learned about via gossip messages, or a single one if the node \fIid\fR was specified\.
.SH EXAMPLE JSON REQUEST .SH EXAMPLE JSON REQUEST
.nf .nf
@ -28,23 +28,30 @@ On success, the command will return a list of nodes, each object represents a no
.RS .RS
.IP \[bu] .IP \[bu]
\fInodeid\fR: A string that rappresents the node id\. \fInodeid\fR: A string that represents the node id\.
.RE
For nodes which have sent a node_announcement message, the following
are also returned:
.RS
.IP \[bu] .IP \[bu]
\fIalias\fR: A string that rappresents alias of the node on the network\. \fIalias\fR: A string that represents alias of the node on the network\.
.IP \[bu] .IP \[bu]
\fIcolor\fR: A string that rappresents the personal color of the node\. \fIcolor\fR: A string that represents the personal color of the node\.
.IP \[bu] .IP \[bu]
\fIlast_timestamp\fR: An integer that rappresent the last timestamp\. \fIlast_timestamp\fR: An integer that represents the timestamp of the last-received node_announcement message\.
.IP \[bu] .IP \[bu]
\fIfeatures\fR: A string that rappresent the features value\. \fIfeatures\fR: A string that represents the features value\.
.IP \[bu] .IP \[bu]
\fIaddresses\fR: An array that rappresent the addreses avaible\. Each address is rappresented with an object with the following properties:.RS \fIaddresses\fR: An array that represents the addreses avaible\. Each address is represented with an object with the following properties:.RS
.IP \[bu] .IP \[bu]
\fItype\fR: A string that rappresent the address type (ipv4 or ipv6)\. \fItype\fR: A string that represents the address type (ipv4 or ipv6)\.
.IP \[bu] .IP \[bu]
\fIaddress\fR: A string that rappresent the address value\. \fIaddress\fR: A string that represents the address value\.
.IP \[bu] .IP \[bu]
\fIport\fR: An integer that rappresent the port number where the node are listening\. \fIport\fR: An integer that represents the port number where the node are listening\.
.RE .RE
@ -94,3 +101,4 @@ FIXME:
Main web site: \fIhttps://github.com/ElementsProject/lightning\fR Main web site: \fIhttps://github.com/ElementsProject/lightning\fR
\" SHA256STAMP:901b147ccbfe0a18310a44ca848b623e83fa3c68912dacadefd045d4a2095523

26
doc/lightning-listnodes.7.md

@ -1,4 +1,4 @@
lightning-listnodes -- Command to get the list of nodes in the own node network. lightning-listnodes -- Command to get the list of nodes in the known network.
============================================================ ============================================================
SYNOPSIS SYNOPSIS
@ -9,7 +9,7 @@ SYNOPSIS
DESCRIPTION DESCRIPTION
----------- -----------
The **listnodes** command returns nodes in the own node network, or a single one if the node *id* was specified. The **listnodes** command returns nodes the node has learned about via gossip messages, or a single one if the node *id* was specified.
EXAMPLE JSON REQUEST EXAMPLE JSON REQUEST
------------ ------------
@ -28,15 +28,19 @@ RETURN VALUE
On success, the command will return a list of nodes, each object represents a node, with the following details: On success, the command will return a list of nodes, each object represents a node, with the following details:
- *nodeid*: A string that rappresents the node id. - *nodeid*: A string that represents the node id.
- *alias*: A string that rappresents alias of the node on the network.
- *color*: A string that rappresents the personal color of the node. For nodes which have sent a node_announcement message, the following
- *last_timestamp*: An integer that rappresent the last timestamp. are also returned:
- *features*: A string that rappresent the features value.
- *addresses*: An array that rappresent the addreses avaible. Each address is rappresented with an object with the following properties: - *alias*: A string that represents alias of the node on the network.
- *type*: A string that rappresent the address type (ipv4 or ipv6). - *color*: A string that represents the personal color of the node.
- *address*: A string that rappresent the address value. - *last_timestamp*: An integer that represents the timestamp of the last-received node_announcement message.
- *port*: An integer that rappresent the port number where the node are listening. - *features*: A string that represents the features value.
- *addresses*: An array that represents the addreses avaible. Each address is represented with an object with the following properties:
- *type*: A string that represents the address type (ipv4 or ipv6).
- *address*: A string that represents the address value.
- *port*: An integer that represents the port number where the node are listening.
On failure, one of the following error codes may be returned: On failure, one of the following error codes may be returned:

27
doc/lightning-listtransactions.7

@ -26,34 +26,34 @@ On success, the command will return a list of transactions, each object represen
.RS .RS
.IP \[bu] .IP \[bu]
\fIhash\fR: A string that rappresents the hash of transaction, which the caller can use to find it on the blockchain\. \fIhash\fR: A string that represents the hash of transaction, which the caller can use to find it on the blockchain\.
.IP \[bu] .IP \[bu]
\fIrawtx\fR: A string that rappresents the hexadecimal dump of the transaction\. \fIrawtx\fR: A string that represents the hexadecimal dump of the transaction\.
.IP \[bu] .IP \[bu]
\fIblockheight\fR: An integer that rappresents the block height that contains the transaction on the blockchain\. \fIblockheight\fR: An integer that represents the block height that contains the transaction on the blockchain\.
.IP \[bu] .IP \[bu]
\fItxindex\fR: An integer that rappresent the transaction index inside the block\. \fItxindex\fR: An integer that represents the transaction index inside the block\.
.IP \[bu] .IP \[bu]
\fIlocktime\fR: An integer that rappresent the locktime\. \fIlocktime\fR: An integer that represents the nLocktime field\.
.IP \[bu] .IP \[bu]
\fIversion\fR: An integer that rappresent the version\. \fIversion\fR: An integer that represents the nVersion field\.
.IP \[bu] .IP \[bu]
\fIinputs\fR: A list of spent transaction outputs, each spent transaction output is rappresented with an object with the following properties:.RS \fIinputs\fR: A list of spent transaction outputs, each spent transaction output is represented with an object with the following properties:.RS
.IP \[bu] .IP \[bu]
\fItxid\fR: A string that rappresent the hash of transaction\. This is the output index of the transaction output being spent\. \fItxid\fR: A string that represents the hash of transaction\. This is the output index of the transaction output being spent\.
.IP \[bu] .IP \[bu]
\fIindex\fR: An integer that rappresent the index of transaction\. \fIindex\fR: An integer that represents the index of transaction\.
.IP \[bu] .IP \[bu]
\fIsequence\fR: An integer that rappresent the sequence number\. \fIsequence\fR: An integer that represents the nSequence field\.
.RE .RE
.IP \[bu] .IP \[bu]
\fIoutputs\fR: A list of transactions, each transaction is rappresented with an object with the following proprieties:.RS \fIoutputs\fR: A list of transactions, each transaction is represented with an object with the following proprieties:.RS
.IP \[bu] .IP \[bu]
\fIindex\fR: An integer that rappresent the index of transaction\. \fIindex\fR: An integer that represents the index of transaction\.
.IP \[bu] .IP \[bu]
\fIsatoshis\fR: A string that rappresent the amount in millisatoshi\. \fIsatoshis\fR: A string that represents the amount in millisatoshi\.
.IP \[bu] .IP \[bu]
\fIscriptPubKey\fR: A string that contains the lock script in hexadecimal dump form\. \fIscriptPubKey\fR: A string that contains the lock script in hexadecimal dump form\.
@ -118,3 +118,4 @@ Vincenzo Palazzo \fI<vincenzo.palazzo@protonmail.com\fR> wrote the initial versi
Main web site: \fIhttps://github.com/ElementsProject/lightning\fR Main web site: \fIhttps://github.com/ElementsProject/lightning\fR
\" SHA256STAMP:88c68faf136cd7ce305bab0b89813d1c0122b8f31688a2dc9c064f7cba480a1d

26
doc/lightning-listtransactions.7.md

@ -26,19 +26,19 @@ RETURN VALUE
On success, the command will return a list of transactions, each object represents a transaction, with the following details: On success, the command will return a list of transactions, each object represents a transaction, with the following details:
- *hash*: A string that rappresents the hash of transaction, which the caller can use to find it on the blockchain. - *hash*: A string that represents the hash of transaction, which the caller can use to find it on the blockchain.
- *rawtx*: A string that rappresents the hexadecimal dump of the transaction. - *rawtx*: A string that represents the hexadecimal dump of the transaction.
- *blockheight*: An integer that rappresents the block height that contains the transaction on the blockchain. - *blockheight*: An integer that represents the block height that contains the transaction on the blockchain.
- *txindex*: An integer that rappresent the transaction index inside the block. - *txindex*: An integer that represents the transaction index inside the block.
- *locktime*: An integer that rappresent the locktime. - *locktime*: An integer that represents the nLocktime field.
- *version*: An integer that rappresent the version. - *version*: An integer that represents the nVersion field.
- *inputs*: A list of spent transaction outputs, each spent transaction output is rappresented with an object with the following properties: - *inputs*: A list of spent transaction outputs, each spent transaction output is represented with an object with the following properties:
- *txid*: A string that rappresent the hash of transaction. This is the output index of the transaction output being spent. - *txid*: A string that represents the hash of transaction. This is the output index of the transaction output being spent.
- *index*: An integer that rappresent the index of transaction. - *index*: An integer that represents the index of transaction.
- *sequence*: An integer that rappresent the sequence number. - *sequence*: An integer that represents the nSequence field.
- *outputs*: A list of transactions, each transaction is rappresented with an object with the following proprieties: - *outputs*: A list of transactions, each transaction is represented with an object with the following proprieties:
- *index*: An integer that rappresent the index of transaction. - *index*: An integer that represents the index of transaction.
- *satoshis*: A string that rappresent the amount in millisatoshi. - *satoshis*: A string that represents the amount in millisatoshi.
- *scriptPubKey*: A string that contains the lock script in hexadecimal dump form. - *scriptPubKey*: A string that contains the lock script in hexadecimal dump form.
On failure, one of the following error codes may be returned: On failure, one of the following error codes may be returned:

2
doc/lightning-newaddr.7

@ -47,4 +47,4 @@ Felix \fI<fixone@gmail.com\fR> is mainly responsible\.
Main web site: \fIhttps://github.com/ElementsProject/lightning\fR Main web site: \fIhttps://github.com/ElementsProject/lightning\fR
\" SHA256STAMP:5629893e244874b3685b217aed66f4768e140444fc58e14be719e40598494e26 \" SHA256STAMP:00cbee36ae0e616fc3610191dfb1c14cb112971d9900fb8549ec66e4f700942f

13
doc/lightning-ping.7

@ -7,15 +7,15 @@ lightning-ping - Command to check if a node is up\.
.SH DESCRIPTION .SH DESCRIPTION
The \fBping\fR command check if the node with id is ready to talk\. It accept the following parameter: The \fBping\fR command checks if the node with \fIid\fR is ready to talk\. It accepts the following parameters:
.RS .RS
.IP \[bu] .IP \[bu]
\fIid\fR: A string that rappresent the node id; \fIid\fR: A string that represents the node id;
.IP \[bu] .IP \[bu]
\fIlen\fR: A integer that rappresent the lenght of {\.\.\.}, by default is 128; \fIlen\fR: A integer that represents the length of the ping (default 128);
.IP \[bu] .IP \[bu]
\fIpongbytes\fR: An integer that rappresent the lenght of {}, by default is 128\. \fIpongbytes\fR: An integer that represents the length of the reply (default 128)\.
.RE .RE
.SH EXAMPLE JSON REQUEST .SH EXAMPLE JSON REQUEST
@ -38,7 +38,7 @@ On success, the command will return an object with a single string\.
.RS .RS
.IP \[bu] .IP \[bu]
\fItotlen\fR: A string that rappresent the answer lenght of {}\. \fItotlen\fR: A string that represents the answer length of the reply message (including header)
.RE .RE
@ -46,7 +46,7 @@ On failure, one of the following error codes may be returned:
.RS .RS
.IP \[bu] .IP \[bu]
-32602: Error in given parameters or unknow peer\. -32602: Error in given parameters or unknown peer\.
.RE .RE
.SH EXAMPLE JSON RESPONSE .SH EXAMPLE JSON RESPONSE
@ -70,3 +70,4 @@ Vincenzo Palazzo \fI<vincenzo.palazzo@protonmail.com\fR> wrote the initial versi
Main web site: \fIhttps://github.com/ElementsProject/lightning\fR Main web site: \fIhttps://github.com/ElementsProject/lightning\fR
\" SHA256STAMP:eac5506bc761a2a9570a92c7e533b4c6ba72c56c4d69dce773887a9f88ea7ac2

12
doc/lightning-ping.7.md

@ -9,11 +9,11 @@ SYNOPSIS
DESCRIPTION DESCRIPTION
----------- -----------
The **ping** command check if the node with id is ready to talk. It accept the following parameter: The **ping** command checks if the node with *id* is ready to talk. It accepts the following parameters:
- *id*: A string that rappresent the node id; - *id*: A string that represents the node id;
- *len*: A integer that rappresent the lenght of {...}, by default is 128; - *len*: A integer that represents the length of the ping (default 128);
- *pongbytes*: An integer that rappresent the lenght of {}, by default is 128. - *pongbytes*: An integer that represents the length of the reply (default 128).
EXAMPLE JSON REQUEST EXAMPLE JSON REQUEST
------------ ------------
@ -33,11 +33,11 @@ RETURN VALUE
On success, the command will return an object with a single string. On success, the command will return an object with a single string.
- *totlen*: A string that rappresent the answer lenght of {}. - *totlen*: A string that represents the answer length of the reply message (including header)
On failure, one of the following error codes may be returned: On failure, one of the following error codes may be returned:
- -32602: Error in given parameters or unknow peer. - -32602: Error in given parameters or unknown peer.
EXAMPLE JSON RESPONSE EXAMPLE JSON RESPONSE
----- -----

11
doc/lightning-sendpsbt.7

@ -7,11 +7,11 @@ lightning-sendpsbt - Command to finalize, extract and send a partially signed bi
.SH DESCRIPTION .SH DESCRIPTION
The \fBsendpsbt\fR is a low-level RPC command which sent a PSBT\. The \fBsendpsbt\fR is a low-level RPC command which sends a fully-signed PSBT\.
.RS .RS
.IP \[bu] .IP \[bu]
\fIpsbt\fR: A string that rappresent psbt value\. \fIpsbt\fR: A string that represents psbt value\.
.RE .RE
.SH EXAMPLE JSON REQUEST .SH EXAMPLE JSON REQUEST
@ -29,13 +29,13 @@ The \fBsendpsbt\fR is a low-level RPC command which sent a PSBT\.
.fi .fi
.SH RETURN VALUE .SH RETURN VALUE
On success, the tx and txid of the transaction are returned, as well as the channel_id of the newly created channel\. On success, the tx and txid of the transaction are returned\.
.RS .RS
.IP \[bu] .IP \[bu]
\fItxid\fR: A string that rappresent the hash of transaction\. \fItxid\fR: A string that represents the hash of transaction\.
.IP \[bu] .IP \[bu]
\fItx\fR: A string that rappresent the hexadecimal dump of the transaction\. \fItx\fR: A string that represents the hexadecimal dump of the transaction\.
.RE .RE
@ -68,3 +68,4 @@ Vincenzo Palazzo \fI<vincenzo.palazzo@protonmail.com\fR> wrote the initial versi
Main web site: \fIhttps://github.com/ElementsProject/lightning\fR Main web site: \fIhttps://github.com/ElementsProject/lightning\fR
\" SHA256STAMP:795058b68607af4148d2866faa88b3743269e1641725c95efcabdbe82c886420

10
doc/lightning-sendpsbt.7.md

@ -9,9 +9,9 @@ SYNOPSIS
DESCRIPTION DESCRIPTION
----------- -----------
The **sendpsbt** is a low-level RPC command which sent a PSBT. The **sendpsbt** is a low-level RPC command which sends a fully-signed PSBT.
- *psbt*: A string that rappresent psbt value. - *psbt*: A string that represents psbt value.
EXAMPLE JSON REQUEST EXAMPLE JSON REQUEST
-------------------- --------------------
@ -29,10 +29,10 @@ EXAMPLE JSON REQUEST
RETURN VALUE RETURN VALUE
------------ ------------
On success, the tx and txid of the transaction are returned, as well as the channel_id of the newly created channel. On success, the tx and txid of the transaction are returned.
- *txid*: A string that rappresent the hash of transaction. - *txid*: A string that represents the hash of transaction.
- *tx*: A string that rappresent the hexadecimal dump of the transaction. - *tx*: A string that represents the hexadecimal dump of the transaction.
On failure, one of the following error codes may be returned: On failure, one of the following error codes may be returned:

25
doc/lightning-signpsbt.7

@ -3,17 +3,29 @@
lightning-signpsbt - Command to sign a wallet's inputs on a provided bitcoin transaction (PSBT)\. lightning-signpsbt - Command to sign a wallet's inputs on a provided bitcoin transaction (PSBT)\.
.SH SYNOPSIS .SH SYNOPSIS
\fBsignpsbt\fR \fIpsbt\fR \fBsignpsbt\fR \fIpsbt\fR [\fIsignonly\fR]
.SH DESCRIPTION .SH DESCRIPTION
The \fBsignpsbt\fR is a low-level RPC command which sign a PSBT\. \fBsignpsbt\fR is a low-level RPC command which signs a PSBT as defined by
BIP-174\.
.RS .RS
.IP \[bu] .IP \[bu]
\fIpsbt\fR: A string that rappresent the psbt value\. \fIpsbt\fR: A string that represents the PSBT value\.
.IP \[bu]
\fIsignonly\fR: An optional array of input numbers to sign\.
.RE .RE
By default, all known inputs are signed, and others ignored: with
\fIsignonly\fR, only those inputs are signed, and an error is returned if
one of them cannot be signed\.
Note that the command will fail if there are no inputs to sign, or
if the inputs to be signed were not previously reserved\.
.SH EXAMPLE JSON REQUEST .SH EXAMPLE JSON REQUEST
.nf .nf
.RS .RS
@ -29,11 +41,11 @@ The \fBsignpsbt\fR is a low-level RPC command which sign a PSBT\.
.fi .fi
.SH RETURN VALUE .SH RETURN VALUE
On success, a object will be return with a string\. On success, a object will be returned with a string\.
.RS .RS
.IP \[bu] .IP \[bu]
\fIpsbt\fR: A string that rappresent the psbt value\. \fIpsbt\fR: A string that represents the psbt value with all inputs signed transaction\.
.RE .RE
@ -41,7 +53,7 @@ On failure, one of the following error codes may be returned:
.RS .RS
.IP \[bu] .IP \[bu]
-32602: Error in given parameters or there aren't wallet's inputs to sign\. -32602: Error in given parameters, or there aren't wallet's inputs to sign, or we couldn't sign all of \fIsignonly\fR, or inputs are not reserved\.
.RE .RE
.SH EXAMPLE JSON RESPONSE .SH EXAMPLE JSON RESPONSE
@ -65,3 +77,4 @@ Vincenzo Palazzo \fI<vincenzo.palazzo@protonmail.com\fR> wrote the initial versi
Main web site: \fIhttps://github.com/ElementsProject/lightning\fR Main web site: \fIhttps://github.com/ElementsProject/lightning\fR
\" SHA256STAMP:5d7f12bed20a73dabf41d219ccd960e4e36a4674e8528d95ef26f7c8c55b1a0f

22
doc/lightning-signpsbt.7.md

@ -4,14 +4,24 @@ lightning-signpsbt -- Command to sign a wallet's inputs on a provided bitcoin tr
SYNOPSIS SYNOPSIS
-------- --------
**signpsbt** *psbt* **signpsbt** *psbt* [*signonly*]
DESCRIPTION DESCRIPTION
----------- -----------
The **signpsbt** is a low-level RPC command which sign a PSBT. **signpsbt** is a low-level RPC command which signs a PSBT as defined by
BIP-174.
- *psbt*: A string that represents the PSBT value.
- *signonly*: An optional array of input numbers to sign.
By default, all known inputs are signed, and others ignored: with
*signonly*, only those inputs are signed, and an error is returned if
one of them cannot be signed.
Note that the command will fail if there are no inputs to sign, or
if the inputs to be signed were not previously reserved.
- *psbt*: A string that rappresent the psbt value.
EXAMPLE JSON REQUEST EXAMPLE JSON REQUEST
-------------------- --------------------
@ -28,13 +38,13 @@ EXAMPLE JSON REQUEST
RETURN VALUE RETURN VALUE
------------ ------------
On success, a object will be return with a string. On success, a object will be returned with a string.
- *psbt*: A string that rappresent the psbt value. - *psbt*: A string that represents the psbt value with all inputs signed transaction.
On failure, one of the following error codes may be returned: On failure, one of the following error codes may be returned:
- -32602: Error in given parameters or there aren't wallet's inputs to sign. - -32602: Error in given parameters, or there aren't wallet's inputs to sign, or we couldn't sign all of *signonly*, or inputs are not reserved.
EXAMPLE JSON RESPONSE EXAMPLE JSON RESPONSE
--------------------- ---------------------

8
doc/lightning-stop.7

@ -1,13 +1,13 @@
.TH "LIGHTNING-STOP" "7" "" "" "lightning-stop" .TH "LIGHTNING-STOP" "7" "" "" "lightning-stop"
.SH NAME .SH NAME
lightning-stop - Command to shut-off c-lightning node\. lightning-stop - Command to shutdown the c-lightning node\.
.SH SYNOPSIS .SH SYNOPSIS
\fBstop\fR \fBstop\fR
.SH DESCRIPTION .SH DESCRIPTION
The \fBstop\fR is a RPC command to shut-off the c-lightning node\. The \fBstop\fR is a RPC command to shut off the c-lightning node\.
.SH EXAMPLE JSON REQUEST .SH EXAMPLE JSON REQUEST
.nf .nf
@ -22,7 +22,8 @@ The \fBstop\fR is a RPC command to shut-off the c-lightning node\.
.fi .fi
.SH RETURN VALUE .SH RETURN VALUE
On success, the command will return a empty object\. On success, the command will return a empty object\. Once it has returned,
the daemon has cleaned up completely, and if desired may be restarted\.
.SH AUTHOR .SH AUTHOR
@ -32,3 +33,4 @@ Vincenzo Palazzo \fI<vincenzo.palazzo@protonmail.com\fR> wrote the initial versi
Main web site: \fIhttps://github.com/ElementsProject/lightning\fR Main web site: \fIhttps://github.com/ElementsProject/lightning\fR
\" SHA256STAMP:b080fabf70873cb5383ea28d79fba5be5abe1a60ebd9bf280419d2e590dfb762

7
doc/lightning-stop.7.md

@ -1,4 +1,4 @@
lightning-stop -- Command to shut-off c-lightning node. lightning-stop -- Command to shutdown the c-lightning node.
============================================================ ============================================================
SYNOPSIS SYNOPSIS
@ -9,7 +9,7 @@ SYNOPSIS
DESCRIPTION DESCRIPTION
----------- -----------
The **stop** is a RPC command to shut-off the c-lightning node. The **stop** is a RPC command to shut off the c-lightning node.
EXAMPLE JSON REQUEST EXAMPLE JSON REQUEST
------------ ------------
@ -24,7 +24,8 @@ EXAMPLE JSON REQUEST
RETURN VALUE RETURN VALUE
------------ ------------
On success, the command will return a empty object. On success, the command will return a empty object. Once it has returned,
the daemon has cleaned up completely, and if desired may be restarted.
AUTHOR AUTHOR

Loading…
Cancel
Save