Skip to main content

syncweb_core/node/
discovery.rs

1use anyhow::Result;
2
3/// Topic-based discovery placeholder.
4/// Will use distributed-topic-tracker types in a follow-up.
5pub struct TopicTracker;
6
7impl TopicTracker {
8    pub async fn new(_gossip: &iroh_gossip::net::Gossip, _endpoint: &iroh::Endpoint) -> Result<Self> {
9        Ok(Self)
10    }
11}