mirror of
https://github.com/lightningnetwork/lnd.git
synced 2026-08-13 12:32:48 +02:00
Some implementations (e.g. Core Lightning) identify the next hop in a blinded route by the next node's ID (next_node_id) instead of a short channel ID. Decode such a hop into a node-ID next hop, the Right of ForwardingInfo.NextHop, holding the next node's public key. The switch resolves that key to one of our channels with the peer in a later commit. BOLT 4 requires a non-final blinded hop to carry exactly one of short_channel_id or next_node_id, so a hop that sets both is rejected. |
||
|---|---|---|
| .. | ||
| amp.go | ||
| blinded_data.go | ||
| blinded_data_test.go | ||
| custom_records.go | ||
| custom_records_test.go | ||
| experimental.go | ||
| hop.go | ||
| mpp.go | ||
| record_test.go | ||