Module freenet::network_sim

source ·
Expand description

Exports to build a running network simulation.

Structs

  • Gateway node to bootstrap the network.
  • An abstract location on the 1D ring, represented by a real number on the interal [0, 1]
  • When instancing a node you can either join an existing network or bootstrap a new network with a listener which will act as the initial provider. This initial peer will be listening at the provided port and assigned IP. If those are not free the instancing process will return an error.

Traits