datafold/
constants.rs

1/// Common constants used across the DataFold project.
2///
3/// These defaults are used for command line arguments and
4/// configuration when explicit values are not provided.
5pub const DEFAULT_P2P_PORT: u16 = 9000;
6pub const DEFAULT_HTTP_PORT: u16 = 9001;
7pub const DEFAULT_SCHEMA_SERVICE_PORT: u16 = 9002;
8
9/// The sole ID for the single public key used for signing validation.
10pub const SINGLE_PUBLIC_KEY_ID: &str = "SYSTEM_WIDE_PUBLIC_KEY";