Module constants

Source
Expand description

Common RPC constants.

Modules§

cache
Cache specific constants
gas_oracle
GPO specific constants

Constants§

DEFAULT_AUTH_PORT
The default port for the auth server.
DEFAULT_ENGINE_API_IPC_ENDPOINTNon-Windows
The engine_api IPC endpoint
DEFAULT_ETH_PROOF_WINDOW
The default eth historical proof window.
DEFAULT_HTTP_RPC_PORT
The default port for the http server
DEFAULT_IPC_ENDPOINTNon-Windows
The default IPC endpoint
DEFAULT_MAX_BLOCKS_PER_FILTER
The default maximum block range allowed to filter
DEFAULT_MAX_LOGS_PER_RESPONSE
The default maximum of logs in a single response.
DEFAULT_MAX_SIMULATE_BLOCKS
The default limit for blocks count in eth_simulateV1.
DEFAULT_MAX_TRACE_FILTER_BLOCKS
The default maximum number of blocks for trace_filter requests.
DEFAULT_PROOF_PERMITS
The default number of getproof calls we are allowing to run concurrently.
DEFAULT_WS_RPC_PORT
The default port for the ws server
MAX_ETH_PROOF_WINDOW
Maximum eth historical proof window. Equivalent to roughly 6 months of data on a 12 second block time, and a month on a 2 second block time.

Functions§

default_max_tracing_requests
The default maximum number tracing requests we’re allowing concurrently. Tracing is mostly CPU bound so we’re limiting the number of concurrent requests to something lower that the number of cores, in order to minimize the impact on the rest of the system.