Skip to content
Snippets Groups Projects
Verified Commit 284c7912 authored by Loris Moulin's avatar Loris Moulin
Browse files

feat: rename some provider constants

parent 9e4b3f19
Branches
No related merge requests found
use std::net::{IpAddr, Ipv4Addr}; use std::net::{IpAddr, Ipv4Addr};
/// Default dir for configuration inside pods /// Default temporary directory
pub const DEFAULT_REMOTE_DIR: &str = "/cfg"; pub const DEFAULT_TMP_DIR: &str = "/tmp";
/// Default dir for node /data /// Directory for node configuration
pub const DEFAULT_DATA_DIR: &str = "/data"; pub const NODE_CONFIG_DIR: &str = "/cfg";
/// Directory for node configuration
pub const NODE_DATA_DIR: &str = "/data";
/// Localhost ip /// Localhost ip
pub const LOCALHOST: IpAddr = IpAddr::V4(Ipv4Addr::new(127, 0, 0, 1)); pub const _LOCALHOST: IpAddr = IpAddr::V4(Ipv4Addr::new(127, 0, 0, 1));
/// The port substrate listens for p2p connections on /// The port substrate listens for p2p connections on
pub const P2P_PORT: u16 = 30333; pub const _P2P_PORT: u16 = 30333;
/// The remote port prometheus can be accessed with /// The remote port prometheus can be accessed with
pub const _PROMETHEUS_PORT: u16 = 9615; pub const _PROMETHEUS_PORT: u16 = 9615;
/// The remote port websocket to access the RPC /// The remote port websocket to access the RPC
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment