projects
/
rust-lightning
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Replace `PaymentSecret` with `RecipientOnionFields` in the pub API
[rust-lightning]
/
lightning
/
src
/
routing
/
gossip.rs
diff --git
a/lightning/src/routing/gossip.rs
b/lightning/src/routing/gossip.rs
index 99d100513a33778a9a925e7891be079f92b33347..892d1b40a962ca9f2f6d80fd840eb4fd164637cc 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
}