Skip to content

Commit 9777485

Browse files
Minor BlindedHop docs update
1 parent 7c1726b commit 9777485

File tree

1 file changed

+5
-4
lines changed
  • lightning/src/blinded_path

1 file changed

+5
-4
lines changed

lightning/src/blinded_path/mod.rs

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,13 +40,14 @@ pub struct BlindedPath {
4040
pub blinded_hops: Vec<BlindedHop>,
4141
}
4242

43-
/// Used to construct the blinded hops portion of a blinded path. These hops cannot be identified
44-
/// by outside observers and thus can be used to hide the identity of the recipient.
43+
/// An encrypted payload and node id corresponding to a hop in a payment or onion message path, to
44+
/// be encoded in the sender's onion packet. These hops cannot be identified by outside observers
45+
/// and thus can be used to hide the identity of the recipient.
4546
#[derive(Clone, Debug, Hash, PartialEq, Eq)]
4647
pub struct BlindedHop {
47-
/// The blinded node id of this hop in a blinded path.
48+
/// The blinded node id of this hop in a [`BlindedPath`].
4849
pub blinded_node_id: PublicKey,
49-
/// The encrypted payload intended for this hop in a blinded path.
50+
/// The encrypted payload intended for this hop in a [`BlindedPath`].
5051
// The node sending to this blinded path will later encode this payload into the onion packet for
5152
// this hop.
5253
pub encrypted_payload: Vec<u8>,

0 commit comments

Comments
 (0)