iroh_base

Module node_addr

Source
Available on crate feature key only.
Expand description

Addressing for iroh nodes.

This module contains some common addressing types for iroh. A node is uniquely identified by the NodeId but that does not make it addressable on the network layer. For this the addition of a RelayUrl and/or direct addresses are required.

The primary way of addressing a node is by using the NodeAddr.

Structs§

  • Network paths to contact an iroh-net node.
  • Network-level addressing information for an iroh-net node.
  • A URL identifying a relay server.

Enums§