Merge branch 'master' into next

This commit is contained in:
Johnathan Corgan
2026-05-04 14:02:09 +00:00
13 changed files with 1411 additions and 41 deletions
+7
View File
@@ -1567,6 +1567,13 @@ impl Node {
self.peers.values()
}
/// Reference to the Nostr discovery handle if discovery is enabled.
/// Used by control queries (`show_peers` per-peer Nostr-traversal
/// state) to read failure-state without taking shared ownership.
pub fn nostr_discovery_handle(&self) -> Option<&crate::discovery::nostr::NostrDiscovery> {
self.nostr_discovery.as_deref()
}
/// Iterate over all peer node IDs.
pub fn peer_ids(&self) -> impl Iterator<Item = &NodeAddr> {
self.peers.keys()