Function iroh_mainline_content_discovery::announce_dht
source · pub fn announce_dht(
dht: Dht,
content: BTreeSet<HashAndFormat>,
port: u16,
announce_parallelism: usize
) -> impl Stream<Item = (HashAndFormat, Result<StoreQueryMetdata>)>
Expand description
Announce to the mainline DHT in parallel.
Note that this should only be called from a publicly reachable node, where port is the port on which the tracker protocol is reachable.