Type Alias iroh_base::key::NodeId

source ·
pub type NodeId = PublicKey;
Expand description

The identifier for a node in the (iroh) network.

This is equivalent to PublicKey. By convention we will (or should) use PublicKey as type name when performing cryptographic operations, but use NodeId when referencing a node. E.g.:

  • encrypt(key: PublicKey)
  • send_to(node: NodeId)

Aliased Type§

struct NodeId(/* private fields */);