mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-08-30 15:40:59 +02:00
lnrpc: add first hop custom data to route
This commit is contained in:
@@ -3293,6 +3293,20 @@ message Route {
|
||||
The total amount in millisatoshis.
|
||||
*/
|
||||
int64 total_amt_msat = 6;
|
||||
|
||||
/*
|
||||
The actual on-chain amount that was sent out to the first hop. This value is
|
||||
only different from the total_amt_msat field if this is a custom channel
|
||||
payment and the value transported in the HTLC is different from the BTC
|
||||
amount in the HTLC. If this value is zero, then this is an old payment that
|
||||
didn't have this value yet and can be ignored.
|
||||
*/
|
||||
int64 first_hop_amount_msat = 7;
|
||||
|
||||
/*
|
||||
Custom channel data that might be populated in custom channels.
|
||||
*/
|
||||
bytes custom_channel_data = 8;
|
||||
}
|
||||
|
||||
message NodeInfoRequest {
|
||||
|
Reference in New Issue
Block a user