mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-24 09:34:24 +01:00
doc: add exclude arg doc for pay rpc
This commit is contained in:
committed by
Rusty Russell
parent
69bc1191cb
commit
5483465fb5
@@ -6,6 +6,7 @@ SYNOPSIS
|
||||
|
||||
**pay** *bolt11* \[*msatoshi*\] \[*label*\] \[*riskfactor*\]
|
||||
\[*maxfeepercent*\] \[*retry\_for*\] \[*maxdelay*\] \[*exemptfee*\]
|
||||
\[*exclude*\]
|
||||
|
||||
DESCRIPTION
|
||||
-----------
|
||||
@@ -40,6 +41,11 @@ finding routes and retrying the payment. However, a payment may be
|
||||
delayed for up to `maxdelay` blocks by another node; clients should be
|
||||
prepared for this worst case.
|
||||
|
||||
*exclude* is a JSON array of short-channel-id/direction (e.g. \[
|
||||
"564334x877x1/0", "564195x1292x0/1" \]) or node-id which should be excluded
|
||||
from consideration for routing. The default is not to exclude any channels
|
||||
or nodes.
|
||||
|
||||
When using *lightning-cli*, you may skip optional parameters by using
|
||||
*null*. Alternatively, use **-k** option to provide parameters by name.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user