8 releases (5 breaking)
0.6.0 | Aug 6, 2024 |
---|---|
0.5.0 | Jul 23, 2024 |
0.4.0 | Jun 27, 2024 |
0.3.0 | May 3, 2024 |
0.1.2 | Jan 21, 2024 |
#1800 in Network programming
496 downloads per month
Used in iroh-mainline-content-dis…
37KB
285 lines
Pkarr based node discovery for iroh-net
Node discovery is being able to find connecting information about an iroh node based on just its node id.
This crate implements a discovery mechanism for iroh-net based on https://pkarr.org/.
TLDR: Each node publishes its address to the mainline DHT as a DNS packet, signed with its private key. The DNS packet contains the node's direct addresses and optionally a DERP URL.
Dependencies
~42–76MB
~1.5M SLoC