From: Matt Corallo Date: Tue, 12 May 2020 01:08:11 +0000 (-0400) Subject: Add missing comment on why last_update_message is None X-Git-Tag: v0.0.12~66^2~3 X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=57ac2ec1b63ceab6d763eedcb65ec5983e509195;p=rust-lightning Add missing comment on why last_update_message is None --- diff --git a/lightning/src/routing/network_graph.rs b/lightning/src/routing/network_graph.rs index dd6d7d7ed..b454216b4 100644 --- a/lightning/src/routing/network_graph.rs +++ b/lightning/src/routing/network_graph.rs @@ -217,6 +217,9 @@ pub struct DirectionalChannelInfo { /// Fees charged when the channel is used for routing pub fees: RoutingFees, /// Most recent update for the channel received from the network + /// Mostly redundant with the data we store in fields explicitly. + /// Everything else is useful only for sending out for initial routing sync. + /// Not stored if contains excess data to prevent DoS. pub last_update_message: Option, }