snops_common/constant.rs
1/// The environment variable that agents use to authorize with the control
2/// plane.
3pub const ENV_AGENT_KEY: &str = "SNOPS_AGENT_KEY";
4/// The agent key header that is set to [`ENV_AGENT_KEY`].
5pub const HEADER_AGENT_KEY: &str = "x-snops-agent-key";
6/// The snarkOS binary file name.
7pub const SNARKOS_FILE: &str = "snarkos-aot";
8/// The snarkOS log file name.
9pub const SNARKOS_LOG_FILE: &str = "snarkos.log";
10/// The genesis block file name.
11pub const SNARKOS_GENESIS_FILE: &str = "genesis.block";
12/// The ledger directory name.
13pub const LEDGER_BASE_DIR: &str = "ledger";
14/// The directory name for persisted ledgers within the storage dir.
15pub const LEDGER_PERSIST_DIR: &str = "persist";
16/// Temporary storage archive file name.
17pub const LEDGER_STORAGE_FILE: &str = "ledger.tar.gz";
18/// File containing a version counter for a ledger
19pub const VERSION_FILE: &str = "version";