Module blinded_path

Expand description

Creating blinded paths and related utilities live here.

Modules§

payment
Data structures and methods for constructing BlindedPaths to send a payment over.

Structs§

BlindedHop
An encrypted payload and node id corresponding to a hop in a payment or onion message path, to be encoded in the sender’s onion packet. These hops cannot be identified by outside observers and thus can be used to hide the identity of the recipient.
BlindedPath
Onion messages and payments can be sent and received to blinded paths, which serve to hide the identity of the recipient.
EmptyNodeIdLookUp
A NodeIdLookUp that always returns None.

Enums§

Direction
The side of a channel that is the IntroductionNode in a BlindedPath. BOLT 7 defines which nodes is which in the ChannelAnnouncement message.
IntroductionNode
The unblinded node in a BlindedPath.
NextMessageHop
The next hop to forward an onion message along its path.

Traits§

NodeIdLookUp
An interface for looking up the node id of a channel counterparty for the purpose of forwarding an OnionMessage.