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 cff4c6d commit 3b20502Copy full SHA for 3b20502
lightning/src/routing/network_graph.rs
@@ -123,11 +123,12 @@ impl Readable for NodeId {
123
124
/// Represents the network as nodes and channels between them
125
pub struct NetworkGraph {
126
+ /// The timestamp provided by the most recent rapid gossip sync
127
+ pub last_rapid_gossip_sync_timestamp: Option<u32>,
128
genesis_hash: BlockHash,
129
// Lock order: channels -> nodes
130
channels: RwLock<BTreeMap<u64, ChannelInfo>>,
131
nodes: RwLock<BTreeMap<NodeId, NodeInfo>>,
- last_rapid_gossip_sync_timestamp: Option<u32>,
132
}
133
134
impl Clone for NetworkGraph {
0 commit comments