fedimint_server/envs.rs
1/// Environment variable for UI bind address
2pub const FM_UI_BIND_ENV: &str = "FM_UI_BIND";
3
4/// Environment variable for the session count determining when to cleanup old
5/// checkpoints.
6pub const FM_DB_CHECKPOINT_RETENTION_ENV: &str = "FM_DB_CHECKPOINT_RETENTION";
7
8/// Default number of checkpoints from the current session should be retained on
9/// disk.
10pub const FM_DB_CHECKPOINT_RETENTION_DEFAULT: u64 = 1;
11
12/// Use iroh for networking
13pub const FM_FORCE_IROH_ENV: &str = "FM_FORCE_IROH";