You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1. This allows setting the length of padding at the time of writing.
2. This will be used in the following commit to allow setting the
padding for blinded message paths, and blinded payment paths.
/// equal length. Padding is written at Type 1 for compatibility with the lightning specification.
198
199
///
199
200
/// For more details, see the [BOLTs Specification - Encrypted Recipient Data](https://github.com/lightning/bolts/blob/8707471dbc23245fb4d84c5f5babac1197f1583e/04-onion-routing.md#inside-encrypted_recipient_data-encrypted_data_tlv).
200
-
pub(crate)structBlindedPathPadding{}
201
+
pub(crate)structBlindedPathPadding{
202
+
length:usize,
203
+
}
204
+
205
+
implBlindedPathPadding{
206
+
/// Creates a new [`BlindedPathPadding`] instance with a specified size.
207
+
/// Use this method when defining the padding size before writing
0 commit comments