-
Notifications
You must be signed in to change notification settings - Fork 382
feat: Future-proof NodeAddr #3417
Copy link
Copy link
Labels
APIc-irohFunctionality of the core iroh crate.Functionality of the core iroh crate.featNew feature or requestNew feature or request
Milestone
Description
The current NodeAddr looks like this:
pub struct NodeAddr {
pub node_id: NodeId,
pub relay_url: Option<RelayUrl>,
pub direct_addresses: BTreeSet<SocketAddr>,
}However internally we have refactored things into Transports and conceptually the home relay is not that a special a transport. In fact you could easily allow for an iroh endpoint to be reachable via multiple relay servers, perhaps a public one and one reachable only on some private network.
We should make sure that the NodeAddr is more agnostic towards transports.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
APIc-irohFunctionality of the core iroh crate.Functionality of the core iroh crate.featNew feature or requestNew feature or request
Type
Projects
Status
✅ Done