package
5.6.3-darwinv2-rc0+incompatible
Repository: https://github.com/scroll-tech/go-ethereum.git
Documentation: pkg.go.dev
# Functions
CheckTimeouts ensures that timeout values are meaningful.
DefaultDataDir is the default data directory to use for the databases and other persistence requirements.
DefaultHTTPEndpoint returns the HTTP endpoint used by default.
DefaultIPCEndpoint returns the IPC path used by default.
DefaultWSEndpoint returns the websocket endpoint used by default.
New creates a new P2P node, ready for protocol registration.
NewHTTPHandlerStack returns wrapped http-related handlers.
RegisterApis checks the given modules' availability, generates an allowlist based on the allowed modules, and then registers all of the APIs exposed by the services.
StartHTTPEndpoint starts the HTTP RPC endpoint.
# Constants
Default host interface for the GraphQL server.
Default TCP port for the GraphQL server.
Default host interface for the HTTP RPC server.
Default TCP port for the HTTP RPC server.
Default host interface for the websocket RPC server.
Default TCP port for the websocket RPC server.
# Variables
DefaultConfig contains reasonable default settings.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Interfaces
Lifecycle encompasses the behavior of services that can be started and stopped on the node.