Skip to content

Commit

Permalink
listpays mod1: Update docs command sendonion and listpays
Browse files Browse the repository at this point in the history
  • Loading branch information
vincenzopalazzo committed Aug 1, 2020
1 parent 74d2eee commit e56cc36
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 2 deletions.
6 changes: 6 additions & 0 deletions doc/lightning-listpays.7

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

3 changes: 3 additions & 0 deletions doc/lightning-listpays.7.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ On success, an array of objects is returned. Each object contains:
- *bolt11*: (if the payment was did with pay command)
the *bolt11* argument given to *pay* (see below for exceptions).

- *destination*: (if the payment was did with keysend command)
the *destination* argument given to *keysend*.

- *payment_hash*:
the *payment_hash* argument givent to *keysend*

Expand Down
6 changes: 5 additions & 1 deletion doc/lightning-sendonion.7

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

5 changes: 4 additions & 1 deletion doc/lightning-sendonion.7.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ lightning-sendonion -- Send a payment with a custom onion packet
SYNOPSIS
--------

**sendonion** *onion* *first_hop* *payment_hash* \[*label*\] \[*shared_secrets*\] \[*partid*\] \[*bolt11*\] \[*msatoshi*\]
**sendonion** *onion* *first_hop* *payment_hash* \[*label*\] \[*shared_secrets*\] \[*partid*\] \[*bolt11*\]
\[*destination*\] \[*msatoshi*\]

DESCRIPTION
-----------
Expand Down Expand Up @@ -78,6 +79,8 @@ partial payments with the same *payment_hash*.
The *bolt11* parameter, if provided, will be returned in
*waitsendpay* and *listsendpays* results.

The *destination* parameter, if provided, will be returned in **listpays** result.

The *msatoshi* parameter is used to annotate the payment, and is returned by
*waitsendpay* and *listsendpays*.

Expand Down

0 comments on commit e56cc36

Please sign in to comment.