From 960ef95b23647a7ed53f3ef62d75476c777e9541 Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Thu, 18 Feb 2021 13:14:32 +1030 Subject: [PATCH] doc: add mpp warnings to lightning-invoice(7) Signed-off-by: Rusty Russell --- doc/lightning-invoice.7 | 8 +++++++- doc/lightning-invoice.7.md | 4 ++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/doc/lightning-invoice.7 b/doc/lightning-invoice.7 index 16d43d0d1..9e07b6ac1 100644 --- a/doc/lightning-invoice.7 +++ b/doc/lightning-invoice.7 @@ -113,6 +113,12 @@ One of the following warnings may occur (on success): incoming capacity .IP \[bu] \fIwarning_deadends\fR if there is no channel that is not a dead-end +.IP \[bu] +\fIwarning_mpp\fR if there is sufficient capacity, but not in a single channel, + so the payer will have to use multi-part payments\. +.IP \[bu] +\fIwarning_mpp_capacity\fR if there is not sufficient capacity, even with all + channels\. .RE .SH AUTHOR @@ -128,4 +134,4 @@ Rusty Russell \fI is mainly responsible\. Main web site: \fIhttps://github.com/ElementsProject/lightning\fR -\" SHA256STAMP:5a7792cb739f34adf7db346f3bd615816915230fcb8343af1b742336a677dbc2 +\" SHA256STAMP:dc375ee583188c669574a8ef203971df650ef221567dccb8df7a81ed5ee4990f diff --git a/doc/lightning-invoice.7.md b/doc/lightning-invoice.7.md index 7b2b0757c..6f43a9b32 100644 --- a/doc/lightning-invoice.7.md +++ b/doc/lightning-invoice.7.md @@ -92,6 +92,10 @@ One of the following warnings may occur (on success): - *warning\_capacity* if there is no channel that has sufficient incoming capacity - *warning\_deadends* if there is no channel that is not a dead-end +- *warning_mpp* if there is sufficient capacity, but not in a single channel, + so the payer will have to use multi-part payments. +- *warning_mpp_capacity* if there is not sufficient capacity, even with all + channels. AUTHOR ------