mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-01-30 01:28:21 -05:00
17 lines
467 B
Rust
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";
|