package
0.0.0-20240802080645-607e7b9485ab
Repository: https://github.com/inphi/optimism-rosetta.git
Documentation: pkg.go.dev
# Functions
LoadConfiguration attempts to create a new Configuration using the ENVs in the environment.
# Constants
DataDirectory is the default location for all persistent data.
DefaultGethURL is the default URL for a running geth node.
Experimental: Custom Bedrock op-geth Tracer.
Experimental: Use newly added built-in geth tracer.
Experimental: Maintain a cache of debug traces.
GethEnv is an optional environment variable used to connect rosetta-ethereum to an already running geth node.
Goerli is the Ethereum Görli testnet.
Tiemout of L2 Geth HTTP Client in seconds.
Mainnet is the Ethereum Mainnet.
Maximum number of concurrent debug_trace RPCs issued to nodes debug tracing is an expensive operation that can DoS a node if one is not careful.
MiddlewareVersion is the version of rosetta-ethereum.
ModeEnv is the environment variable read to determine mode.
NetworkEnv is the environment variable read to determine network.
Offline is when the implementation is not permitted to make outbound connections.
Online is when the implementation is permitted to make outbound connections.
PortEnv is the environment variable read to determine the port for the Rosetta implementation.
Sepolia is the Ethereum Sepolia testnet.
Testnet defaults to `Ropsten` for backwards compatibility (even though we don't have a ropsten network on Optimism).
TokenFilterEnv is the environment variable read to determine if we will filter tokens using our token white list NOTE: this is enabled by default.
Whether to construct traces using debug_traceBlockByHash or debug_traceTransaction By default, optimism-rosetta batches calls to debug_traceTransaction to lighten the load on downstream geth clients DEFAULT: `false`.
Configures the size of the trace cache.
# Structs
Configuration determines how.
# Type aliases
Mode is the setting that determines if the implementation is "online" or "offline".