lnrpc: add first hop custom data to route

This commit is contained in:
Oliver Gugger
2024-08-30 15:10:13 +02:00
parent aa17543d23
commit 81c8331f82
5 changed files with 1637 additions and 1560 deletions

View File

@@ -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 {