mirror of
https://github.com/aljazceru/lightning.git
synced 2026-02-23 15:04:19 +01:00
review 2/2: Use generic query to make the code more readable.
Suggested by @cdecker P.S: Also this include an API refactoring from my previous solution, also this it is suggested by @cdecker. Signed-off-by: Vincenzo Palazzo <vincenzopalazzodev@gmail.com>
This commit is contained in:
committed by
Rusty Russell
parent
bea6ea27e8
commit
eb103c15df
6
doc/lightning-listsendpays.7
generated
6
doc/lightning-listsendpays.7
generated
@@ -3,14 +3,14 @@
|
||||
lightning-listsendpays - Low-level command for querying sendpay status
|
||||
.SH SYNOPSIS
|
||||
|
||||
\fBlistsendpays\fR [\fIbolt11\fR] [\fIpayment_hash\fR] [*status*]
|
||||
\fBlistsendpays\fR [\fIbolt11\fR] [\fIpayment_hash\fR] [\fIstatus\fR]
|
||||
|
||||
.SH DESCRIPTION
|
||||
|
||||
The \fBlistsendpays\fR RPC command gets the status of all \fIsendpay\fR
|
||||
commands (which is also used by the \fIpay\fR command), or with \fIbolt11\fR or
|
||||
\fIpayment_hash\fR limits results to that specific payment\. You cannot
|
||||
specify both\. It is possible filter the payments also by status\.
|
||||
specify both\. It is possible filter the payments also by \fIstatus\fR\.
|
||||
|
||||
|
||||
Note that in future there may be more than one concurrent \fIsendpay\fR
|
||||
@@ -75,4 +75,4 @@ responsible\.
|
||||
|
||||
Main web site: \fIhttps://github.com/ElementsProject/lightning\fR
|
||||
|
||||
\" SHA256STAMP:b764944a2853635154668dbcc89addb2ce87a476821e23d2841b6da5ba7943f3
|
||||
\" SHA256STAMP:434378df97caee4272db4a11fc43a5e082af8c492f5fbc953add49c418c6872e
|
||||
|
||||
@@ -4,7 +4,7 @@ lightning-listsendpays -- Low-level command for querying sendpay status
|
||||
SYNOPSIS
|
||||
--------
|
||||
|
||||
**listsendpays** \[*bolt11*\] \[*payment\_hash*\] [\*status*\]
|
||||
**listsendpays** \[*bolt11*\] \[*payment\_hash*\] \[*status*\]
|
||||
|
||||
DESCRIPTION
|
||||
-----------
|
||||
@@ -12,7 +12,7 @@ DESCRIPTION
|
||||
The **listsendpays** RPC command gets the status of all *sendpay*
|
||||
commands (which is also used by the *pay* command), or with *bolt11* or
|
||||
*payment\_hash* limits results to that specific payment. You cannot
|
||||
specify both. It is possible filter the payments also by status.
|
||||
specify both. It is possible filter the payments also by *status*.
|
||||
|
||||
Note that in future there may be more than one concurrent *sendpay*
|
||||
command per *pay*, so this command should be used with caution.
|
||||
|
||||
Reference in New Issue
Block a user