zombienet_orchestrator/shared/constants.rs
1/// Prometheus exporter default port
2pub const PROMETHEUS_PORT: u16 = 9615;
3/// Prometheus exporter default port in collator full-node
4pub const FULL_NODE_PROMETHEUS_PORT: u16 = 9616;
5/// JSON-RPC server (ws)
6pub const RPC_PORT: u16 = 9944;
7// JSON-RPC server (http, used by old versions)
8pub const RPC_HTTP_PORT: u16 = 9933;
9// P2P default port
10pub const P2P_PORT: u16 = 30333;
11// default command template to build chain-spec
12pub const DEFAULT_CHAIN_SPEC_TPL_COMMAND: &str =
13 "{{mainCommand}} build-spec --chain {{chainName}} {{disableBootnodes}}";
14// default maximum time in seconds to wait for a node to be up
15pub const DEFAULT_NODE_SPAWN_TIMEOUT_SECONDS: u64 = 300;