macula_bootstrap_system (macula v0.14.3)

View Source

Macula Bootstrap System - Supervision tree for bootstrap nodes.

Bootstrap nodes provide: - DHT bootstrap and peer discovery - Service registry (advertised RPC endpoints) - Health monitoring

Bootstrap nodes do NOT: - Relay messages (that's macula_relay_system) - Bridge realms (that's macula_bridge_system)

Summary

Functions

Get bootstrap server PID

Get bootstrap system statistics

Start bootstrap system supervisor

Functions

get_server_pid()

-spec get_server_pid() -> {ok, pid()} | {error, not_started}.

Get bootstrap server PID

get_stats()

-spec get_stats() -> {ok, map()} | {error, term()}.

Get bootstrap system statistics

init(Config)

start_link(Config)

-spec start_link(Config :: map()) -> {ok, pid()} | {error, term()}.

Start bootstrap system supervisor