Expand description
Foreground native node lifecycle shared by rings run and external daemon binaries.
Opens authoritative persistent NodeStores, builds a Processor, installs optional
NativeDaemonHooks (DHT registrations, protocol/Kleisli backends, cooperative shutdown),
starts the application service, delegation signing-horizon task, internal/external JSON-RPC
HTTP endpoints, BootstrapSupervisor, optional DNS relay, optional TUN gateway, and
optional onion HTTP proxy, and performs cooperative shutdown on SIGINT/SIGTERM.
Structs§
- Native
Node RunOptions - Runtime options for
run_foreground_node.
Constants§
- FOREGROUND_
CLEANUP_ TIMEOUT - Maximum wall-clock bound allotted to each foreground shutdown step (
gateway,processorlistener drain, andProcessor::close).
Traits§
- Native
Daemon Hooks - Extension hooks allowing external service binaries to attach custom DHT registrations,
Providerprotocols or onion Kleisli backends, and cooperative shutdown steps onto the standard native node daemon lifecycle.
Functions§
- run_
foreground_ node - Run a full foreground native Rings node until
SIGINT/SIGTERMor a fatal task exit.