lnrpc+cmd: clarify docs about addinvoice no-amount hop hints
Add additional comment to `lnclic addinvoice`'s `--private` flag warning about including a large number of private channel hints when using zero ammounts. Also added a comment to the `private` field in the `Invoice` proto message.
This commit is contained in:
5 files changed
+10
-3
No files matched your search
@@ -64,7 +64,10 @@ var addInvoiceCommand = cli.Command{
|
||||
Name: "private",
|
||||
Usage: "encode routing hints in the invoice with " +
|
||||
"private channels in order to assist the " +
|
||||
"payer in reaching you",
|
||||
"payer in reaching you. If amt and amt_msat " +
|
||||
"are zero, a large number of hints with " +
|
||||
"these channels can be included, which " +
|
||||
"might not be desirable.",
|
||||
},
|
||||
cli.BoolFlag{
|
||||
Name: "amp",
|
||||
|
||||
Reference in new issue
Block a user