Module blinded_path

Expand description

Creating blinded paths and related utilities live here.

Modules§

message
Data structures and methods for constructing BlindedMessagePaths to send a message over.
payment
Data structures and methods for constructing BlindedPaymentPaths 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.
EmptyNodeIdLookUp
A NodeIdLookUp that always returns None.

Enums§

Direction
The side of a channel that is the IntroductionNode in a blinded path. BOLT 7 defines which nodes is which in the ChannelAnnouncement message.
IntroductionNode
The unblinded node in a blinded path.

Traits§

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