projects
/
rust-lightning
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #2125 from benthecarman/invoice-expire-time
[rust-lightning]
/
lightning
/
src
/
routing
/
gossip.rs
diff --git
a/lightning/src/routing/gossip.rs
b/lightning/src/routing/gossip.rs
index 513ff1a22f93dc1c050c8a9aecae6f3293aeafca..0ee9d4cf8b9cc5bf06ecea53e98ca435cb7a6c97 100644
(file)
--- a/
lightning/src/routing/gossip.rs
+++ b/
lightning/src/routing/gossip.rs
@@
-258,7
+258,7
@@
where U::Target: UtxoLookup, L::Target: Logger
/// Gets a reference to the underlying [`NetworkGraph`] which was provided in
/// [`P2PGossipSync::new`].
///
/// Gets a reference to the underlying [`NetworkGraph`] which was provided in
/// [`P2PGossipSync::new`].
///
- ///
(C-not exported)
as bindings don't support a reference-to-a-reference yet
+ ///
This is not exported to bindings users
as bindings don't support a reference-to-a-reference yet
pub fn network_graph(&self) -> &G {
&self.network_graph
}
pub fn network_graph(&self) -> &G {
&self.network_graph
}
@@
-1912,7
+1912,7
@@
impl<L: Deref> NetworkGraph<L> where L::Target: Logger {
impl ReadOnlyNetworkGraph<'_> {
/// Returns all known valid channels' short ids along with announced channel info.
///
impl ReadOnlyNetworkGraph<'_> {
/// Returns all known valid channels' short ids along with announced channel info.
///
- ///
(C-not exported)
because we don't want to return lifetime'd references
+ ///
This is not exported to bindings users
because we don't want to return lifetime'd references
pub fn channels(&self) -> &IndexedMap<u64, ChannelInfo> {
&*self.channels
}
pub fn channels(&self) -> &IndexedMap<u64, ChannelInfo> {
&*self.channels
}
@@
-1930,7
+1930,7
@@
impl ReadOnlyNetworkGraph<'_> {
/// Returns all known nodes' public keys along with announced node info.
///
/// Returns all known nodes' public keys along with announced node info.
///
- ///
(C-not exported)
because we don't want to return lifetime'd references
+ ///
This is not exported to bindings users
because we don't want to return lifetime'd references
pub fn nodes(&self) -> &IndexedMap<NodeId, NodeInfo> {
&*self.nodes
}
pub fn nodes(&self) -> &IndexedMap<NodeId, NodeInfo> {
&*self.nodes
}