mirror of
https://github.com/aljazceru/lightning.git
synced 2026-01-07 08:04:23 +01:00
lightningd: expose/accept "style" parameter in routes.
Default is legacy. If we have future styles, new strings can be defined, but for now it's "tlv" or "legacy". Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
committed by
Christian Decker
parent
997e3f7fe6
commit
c83834ca82
@@ -113,8 +113,9 @@ factor for larger amounts, and is basically ignored for tiny ones\.
|
||||
|
||||
On success, a "route" array is returned\. Each array element contains
|
||||
\fIid\fR (the node being routed through), \fImsatoshi\fR (the millisatoshis
|
||||
sent), \fIamount_msat\fR (the same, with \fImsat\fR appended), and \fIdelay\fR (the
|
||||
number of blocks to timeout at this node)\.
|
||||
sent), \fIamount_msat\fR (the same, with \fImsat\fR appended), \fIdelay\fR (the
|
||||
number of blocks to timeout at this node), and \fIstyle\fR (indicating
|
||||
the features which can be used for this hop)\.
|
||||
|
||||
|
||||
The final \fIid\fR will be the destination \fIid\fR given in the input\. The
|
||||
|
||||
@@ -279,8 +279,9 @@ RETURN VALUE
|
||||
|
||||
On success, a "route" array is returned. Each array element contains
|
||||
*id* (the node being routed through), *msatoshi* (the millisatoshis
|
||||
sent), *amount\_msat* (the same, with *msat* appended), and *delay* (the
|
||||
number of blocks to timeout at this node).
|
||||
sent), *amount\_msat* (the same, with *msat* appended), *delay* (the
|
||||
number of blocks to timeout at this node), and *style* (indicating
|
||||
the features which can be used for this hop).
|
||||
|
||||
The final *id* will be the destination *id* given in the input. The
|
||||
difference between the first *msatoshi* minus the *msatoshi* given in
|
||||
|
||||
Reference in New Issue
Block a user