We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a47ccaa commit 70acdbcCopy full SHA for 70acdbc
lightning/src/onion_message/packet.rs
@@ -37,9 +37,9 @@ pub(super) const BIG_PACKET_HOP_DATA_LEN: usize = 32768;
37
pub struct Packet {
38
/// Bolt 04 version number
39
pub version: u8,
40
- /// The PublicKey used during shared secret generation
+ /// A random sepc256k1 point, used to build the ECDH shared secret to decrypt hop_data
41
pub public_key: PublicKey,
42
- /// 1300 bytes payload for the next hop
+ /// Encrypted payload for the next hop
43
//
44
// Unlike the onion packets used for payments, onion message packets can have payloads greater
45
// than 1300 bytes.
0 commit comments