Expand description
Host contract common to every cog runtime (ADR-100 section 4):
COG_CSI_BIND, COG_SENSOR_URL, a per-instance COGNITUM_COG_TOKEN
and COGNITUM_COG_DATA_DIR.
The token is a secret: it is handed to the instance’s environment only,
and anything written to the chain carries HostContract::token_hash.
Structs§
- Host
Contract - Host contract for one instance.
Constants§
- DEFAULT_
CSI_ PORT - Default CSI feed port (ADR-069).
- ENV_
CSI_ BIND - Env var: UDP bind address for the ESP32 CSI feed.
- ENV_
DATA_ DIR - Env var: writable data directory.
- ENV_
INGEST_ URL - Env var: full URL of this instance’s ingest bridge (for cogs that honour
it; released cogs post to the fixed
127.0.0.1:80). - ENV_
SENSOR_ URL - Env var: HTTP sensor fallback (
host:port). - ENV_
TOKEN - Env var: per-instance token accepted by that instance’s ingest bridge.