lnrpc: add first hop custom data to route
This commit is contained in:
5 files changed
+1637
-1560
No files matched your search
@@ -6912,6 +6912,16 @@
|
||||
"type": "string",
|
||||
"format": "int64",
|
||||
"description": "The total amount in millisatoshis."
|
||||
},
|
||||
"first_hop_amount_msat": {
|
||||
"type": "string",
|
||||
"format": "int64",
|
||||
"description": "The actual on-chain amount that was sent out to the first hop. This value is\nonly different from the total_amt_msat field if this is a custom channel\npayment and the value transported in the HTLC is different from the BTC\namount in the HTLC. If this value is zero, then this is an old payment that\ndidn't have this value yet and can be ignored."
|
||||
},
|
||||
"custom_channel_data": {
|
||||
"type": "string",
|
||||
"format": "byte",
|
||||
"description": "Custom channel data that might be populated in custom channels."
|
||||
}
|
||||
},
|
||||
"description": "A path through the channel graph which runs over one or more channels in\nsuccession. This struct carries all the information required to craft the\nSphinx onion packet, and send the payment along the first hop in the path. A\nroute is only selected as valid if all the channels have sufficient capacity to\ncarry the initial payment amount after fees are accounted for."
|
||||
|
||||
Reference in new issue
Block a user