Module blinded_path
Expand description
Creating blinded paths and related utilities live here.
Modules§
- message
- Data structures and methods for constructing
BlindedMessagePath
s to send a message over. - payment
- Data structures and methods for constructing
BlindedPaymentPath
s to send a payment over.
Structs§
- Blinded
Hop - 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.
- Empty
Node IdLook Up - A
NodeIdLookUp
that always returnsNone
.
Enums§
- Direction
- The side of a channel that is the
IntroductionNode
in a blinded path. BOLT 7 defines which nodes is which in theChannelAnnouncement
message. - Introduction
Node - The unblinded node in a blinded path.
Traits§
- Node
IdLook Up - An interface for looking up the node id of a channel counterparty for the purpose of forwarding
an
OnionMessage
.