Configuration
Location
Section titled “Location”OCF reads a YAML config by default from:
$HOME/.config/ocf/cfg.yamlYou can override with --config <path>. CLI flags override config values.
Defaults
Section titled “Defaults”path: ""port: "8092" # HTTP APIname: "relay"p2p: port: "8093" # reserved; not required for LibP2Pvacuum: interval: 10queue: port: "8094"account: wallet: "" # Wallet account address for node identificationseed: "0" # 0 = persisted/random keytcp_port: "43905" # LibP2P TCP/WSudp_port: "59820" # LibP2P QUICCommon options
Section titled “Common options”bootstrap.addr: Legacy single-source value. Accepts an HTTP URL or one multiaddr.bootstrap.sources: Ordered list of sources (HTTP URLs,dnsaddr://host, and multiaddrs). The resolver walks the list until it collects addresses.bootstrap.static: Convenience list of multiaddrs that are appended after dynamic sources.public-addr: Public IPv4 address to advertise (enables bootstrap).mode:standalone,local, or the default networked mode (setnodeorfull).
Example configs
Section titled “Example configs”Minimal dispatcher:
port: "8092"mode: nodebootstrap: sources: - "http://152.67.71.5:8092/v1/dnt/bootstraps" - "dnsaddr://bootstrap.ocf.example.com"Public bootstrap:
public-addr: "203.0.113.10"tcp_port: "43905"udp_port: "59820"Worker registering an LLM service:
service: name: llm port: "8080"Node with wallet identification:
account: wallet: "your_wallet_address_here"