Introduce graph sync crate for fast-forwarding through gossip data downloaded from...
[rust-lightning] / lightning / src / ln / msgs.rs
index 281a2a8e977123158f5daeba45ff8666c96ec403..5aa48c32bf07686aba4adad53b9615a6cdd91bb1 100644 (file)
@@ -630,7 +630,10 @@ pub struct UnsignedChannelUpdate {
        pub fee_base_msat: u32,
        /// The amount to fee multiplier, in micro-satoshi
        pub fee_proportional_millionths: u32,
-       pub(crate) excess_data: Vec<u8>,
+       /// Excess data which was signed as a part of the message which we do not (yet) understand how
+       /// to decode. This is stored to ensure forward-compatibility as new fields are added to the
+       /// lightning gossip
+       pub excess_data: Vec<u8>,
 }
 /// A channel_update message to be sent or received from a peer
 #[derive(Clone, Debug, PartialEq)]