lnd/record
Elle Mouton ad0905f10e
record+htlcswitch: convert BlindedRouteData fields to optional
For the final hop in a blinded route, the SCID and RelayInfo fields will
_not_ be set. So these fields need to be converted to optional records.

The existing BlindedRouteData constructor is also renamed to
`NewNonFinalBlindedRouteData` in preparation for a
`NewFinalBlindedRouteData` constructor which will be used to construct
the blinded data for the final hop which will contain a much smaller set
of data. The SCID and RelayInfo parameters of the constructor are left
as non-pointers in order to force the caller to set them in the case
that the constructor is called for non-final nodes. The other option
would be to create a single constructor where all parameters are
optional but I think this makes it easier for the caller to make a
mistake.
2024-07-10 09:12:39 +02:00
..
amp.go multi: Fix final hop payload size for AMP payments. 2024-02-03 12:16:06 +00:00
blinded_data_test.go record+htlcswitch: convert BlindedRouteData fields to optional 2024-07-10 09:12:39 +02:00
blinded_data.go record+htlcswitch: convert BlindedRouteData fields to optional 2024-07-10 09:12:39 +02:00
custom_records.go routerrpc+record: move custom set validation 2019-12-12 17:49:34 +01:00
experimental.go multi: rename key_send, key-send and key send to keysend 2020-01-16 18:37:16 -08:00
hop.go multi: add blinded path TLVs to onion payload / hops 2023-10-06 16:38:33 -07:00
mpp.go multi: formatting and comment fixes 2022-02-10 11:02:02 +01:00
record_test.go record: convert child_index from uint16 to uint32 2021-04-07 12:08:29 -07:00