Files
reth/crates/rpc/rpc-builder/src/constants.rs
Altuğ Bakan 7476120d81 feat: wrap gas limit into a new type (#3841)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2023-07-19 19:26:16 +00:00

17 lines
467 B
Rust

/// The default port for the http server
pub const DEFAULT_HTTP_RPC_PORT: u16 = 8545;
/// The default port for the ws server
pub const DEFAULT_WS_RPC_PORT: u16 = 8546;
/// The default port for the auth server.
pub const DEFAULT_AUTH_PORT: u16 = 8551;
/// The default IPC endpoint
#[cfg(windows)]
pub const DEFAULT_IPC_ENDPOINT: &str = r"\\.\pipe\reth.ipc";
/// The default IPC endpoint
#[cfg(not(windows))]
pub const DEFAULT_IPC_ENDPOINT: &str = "/tmp/reth.ipc";