Skip to main content

Module platform

Module platform 

Source
Expand description

Per-OS service paths, settings and first-install state (URMA_NODE_INSTALL.md §2–§3).

Structs§

CommitRpc
Paths
The installed service’s files. settings_dir holds service.json and config.json; state_dir holds the token, the peer key and the data dir.
ServiceSettings

Enums§

Exposure

Functions§

create_peer_key
A private per-user transport identity at path; an existing file stays.
ensure_defaults
Creates what is missing below paths and returns what it created. The caller (install) owns the account and, on Linux, the chown to it.
service_sid
write_peer_key
A fresh Ed25519 transport identity, never a wallet or decryption key.