Expand description
XDG-compliant configuration paths for BillPouch.
All paths are rooted at the platform data directory
(~/.local/share/billpouch on Linux, ~/Library/Application Support/billpouch on macOS).
Call ensure_dirs once at daemon startup to create the directory tree.
Functions§
- base_
dir - Returns the base BillPouch config directory (~/.local/share/billpouch on Linux).
- bootstrap_
path - Path to the user-editable bootstrap node list.
- cek_
hints_ path - Path to the persisted per-chunk CEK hints.
- encrypted_
identity_ path - Path to the passphrase-encrypted keypair (Argon2id + AES-256-GCM).
- ensure_
dirs - Ensure the base directory (and any subdirs) exist.
- file_
registry_ path - Path to the file registry (uploaded file catalogue).
- identity_
path - Path to the stored keypair (identity) — plaintext.
- kad_
peers_ path - Path to the persisted Kademlia peer multi-addresses.
- network_
keys_ path - Path to the per-network secret keys store.
- networks_
path - Path to persisted network membership list.
- pid_
path - Path to the daemon PID file.
- profile_
path - Path to the user profile JSON (display name, etc.).
- services_
path - Path to persisted service registry.
- socket_
path - Path to the Unix control socket.