Crate freenet

Crate freenet 

Source

Modules§

config
Peer node configuration.
dev_tool
Exports for the dev tool.
generated
Generated messages from the flatbuffers schema for the network monitor.
local_node
Exports to build a running local node.
server
Local server used to communicate with the peer core. Handles external client connections (HTTP/WebSocket).
simulation
Deterministic simulation testing framework. Deterministic simulation testing framework for Freenet.
storages
test_utils
tracing
Tracing and loging infrastructure. Includes our custom event log register. Tracing collectors, etc.
transport
Code for communicating with other peers over UDP, handles hole-punching, error handling, etc. Freenet Transport protocol implementation.
util

Structs§

Node
ShutdownHandle
Handle to trigger graceful shutdown of the node.

Enums§

EventLoopExitReason
Represents the different ways the event loop can exit.

Functions§

run_local_node
run_network_node