-
Notifications
You must be signed in to change notification settings - Fork 943
Document listsendpays amount msat better #8384
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
sangbida
merged 2 commits into
ElementsProject:master
from
rustyrussell:document-listsendpays-amount_msat-better
Jun 30, 2025
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21942,7 +21942,7 @@ | |
"amount_msat": { | ||
"type": "msat", | ||
"description": [ | ||
"The amount of millisatoshi we intended to send to the destination." | ||
"The amount of millisatoshi we intended to send to the destination. This can only be missing in the case of someone manually calling sendonion without the `amount_msat` parameter (which no plugin currently does)." | ||
] | ||
}, | ||
"amount_sent_msat": { | ||
|
@@ -24449,7 +24449,7 @@ | |
"amount_msat": { | ||
"type": "msat", | ||
"description": [ | ||
"The amount delivered to destination (if known)." | ||
"The amount delivered to destination (if known). This is not known in the case where sendonion(7) was used to manually initiate a payment without the `amount_msat` parameter." | ||
] | ||
}, | ||
"destination": { | ||
|
@@ -29732,6 +29732,7 @@ | |
"rpc": "sendonion", | ||
"title": "Send a payment with a custom onion packet", | ||
"description": [ | ||
"Note: you probably want to use the more modern and flexible `injectpaymentonion` command instead of this.", | ||
"The **sendonion** RPC command can be used to initiate a payment attempt with a custom onion packet. The onion packet is used to deliver instructions for hops along the route on how to behave. Normally these instructions are indications on where to forward a payment and what parameters to use, or contain details of the payment for the final hop. However, it is possible to add arbitrary information for hops in the custom onion, allowing for custom extensions that are not directly supported by Core Lightning.", | ||
"", | ||
"If the first element of *route* does not have \"channel\" set, a suitable channel (if any) will be chosen, otherwise that specific short-channel-id is used. The following is an example of a 3 hop onion:", | ||
|
@@ -30057,6 +30058,7 @@ | |
"Christian Decker <<[email protected]>> is mainly responsible." | ||
], | ||
"see_also": [ | ||
"lightning-injectpaymentonion(7)", | ||
"lightning-createonion(7)", | ||
"lightning-sendpay(7)", | ||
"lightning-listsendpays(7)" | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 +4,7 @@ | |
"rpc": "sendonion", | ||
"title": "Send a payment with a custom onion packet", | ||
"description": [ | ||
"Note: you probably want to use the more modern and flexible `injectpaymentonion` command instead of this.", | ||
"The **sendonion** RPC command can be used to initiate a payment attempt with a custom onion packet. The onion packet is used to deliver instructions for hops along the route on how to behave. Normally these instructions are indications on where to forward a payment and what parameters to use, or contain details of the payment for the final hop. However, it is possible to add arbitrary information for hops in the custom onion, allowing for custom extensions that are not directly supported by Core Lightning.", | ||
"", | ||
"If the first element of *route* does not have \"channel\" set, a suitable channel (if any) will be chosen, otherwise that specific short-channel-id is used. The following is an example of a 3 hop onion:", | ||
|
@@ -329,6 +330,7 @@ | |
"Christian Decker <<[email protected]>> is mainly responsible." | ||
], | ||
"see_also": [ | ||
"lightning-injectpaymentonion(7)", | ||
"lightning-createonion(7)", | ||
"lightning-sendpay(7)", | ||
"lightning-listsendpays(7)" | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.