Skip to main content

Module node

Module node 

Source
Expand description

Long-running rad-artifact node: owns the seeder, exposes a control socket, drives graceful shutdown on signals.

run bootstraps the Seeder, binds <home>/artifacts/control.sock, accepts one Command per connection and writes back one CommandResult. Parent-side helpers (detached spawn, passphrase resolution, log rotation, liveness polling) live in the radicle-artifact crate’s lifecycle module.

  • tags survive shutdown — restart resumes seeding what was previously tagged

Enums§

NodeError
Failure modes for run.

Functions§

run
Run the node in the foreground until it receives a shutdown signal or a Command::Shutdown.