projects
/
rust-lightning
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0e3bf19
)
Add missing comment on why last_update_message is None
author
Matt Corallo
<git@bluematt.me>
Tue, 12 May 2020 01:08:11 +0000
(21:08 -0400)
committer
Matt Corallo
<git@bluematt.me>
Tue, 12 May 2020 18:02:40 +0000
(14:02 -0400)
lightning/src/routing/network_graph.rs
patch
|
blob
|
history
diff --git
a/lightning/src/routing/network_graph.rs
b/lightning/src/routing/network_graph.rs
index dd6d7d7ed734aadbd7f89f93308aefd0223a9f79..b454216b48ca091ac04e0656aee4e47c604e3f44 100644
(file)
--- 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<msgs::ChannelUpdate>,
}