lnd/htlcswitch/hop
Carla Kirk-Cohen fee0e05708 multi: add blinded path TLVs to onion payload / hops
This commit adds the encrypted_data, blinding_point and total_amt_msat
tlvs to the known set of even tlvs for the onion payload. These TLVs
are added in two places (the onion payload and hop struct) because
lnd uses the same set of TLV types for both structs (and they
inherently represent the same thing).

Note: in some places, unit tests intentionally mimic the style
of older tests, so as to be more consistently readable.
2023-10-06 16:38:33 -07:00
..
error_encryptor.go multi: fix make fmt 2022-08-23 22:10:24 +08:00
forwarding_info.go htlcswitch: remove Network type 2023-10-06 16:34:47 -07:00
iterator_test.go multi: move many t.Fatalf calls to require.NoError 2022-06-17 04:26:55 +00:00
iterator.go multi: add debug logs to catch slow shutdown 2023-10-06 16:34:47 -07:00
log.go htlcswitch: move hop iterator into htlcswitch/hop package 2019-09-05 15:30:31 +02:00
payload_test.go multi: add blinded path TLVs to onion payload / hops 2023-10-06 16:38:33 -07:00
payload.go multi: add blinded path TLVs to onion payload / hops 2023-10-06 16:38:33 -07:00
type.go htlcswitch/hop: move hop.Exit and hop.Source to hop pkg 2019-09-05 01:35:23 -07:00