Module daemon

Module daemon 

Source
Expand description

BillPouch daemon entry point.

The daemon is started by the CLI (bp hatch <type>) when no running daemon is detected. It owns the libp2p Swarm and the control Unix socket.

Functionsยง

is_running
Returns true if a daemon process is currently running (PID file exists and process is alive).
run_daemon
Start the daemon process. This function blocks until the daemon is killed.