package
5.6.3-darwinv2-rc0+incompatible
Repository: https://github.com/scroll-tech/go-ethereum.git
Documentation: pkg.go.dev
# Packages
Package checkpointoracle is a wrapper of checkpoint oracle contract with additional rules defined.
This is a temporary package whilst working on the eth/66 blocking refactors.
This is a temporary package whilst working on the eth/66 blocking refactors.
Package flowcontrol implements a client side flow control mechanism.
No description provided by the author
No description provided by the author
# Functions
No description provided by the author
New creates an instance of the light client.
NewFuzzerPeer creates a client peer for test purposes, and also returns a function to close the peer: this is needed to avoid goroutine leaks in the exec queue.
No description provided by the author
No description provided by the author
NewPrivateDebugAPI creates a new LES light server debug API.
NewPrivateLightAPI creates a new LES service API.
NewPrivateLightServerAPI creates a new LES light server API.
# Constants
les protocol message codes.
les protocol message codes.
les protocol message codes.
les protocol message codes.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
les protocol message codes.
les protocol message codes.
les protocol message codes.
les protocol message codes.
Protocol messages introduced in LPV2.
les protocol message codes.
les protocol message codes.
les protocol message codes.
Amount of block bodies to be fetched per retrieval request.
Amount of contract codes to allow fetching per request.
Amount of block headers to be fetched per retrieval request.
Amount of helper tries to be fetched per retrieval request.
Amount of merkle proofs to be fetched per retrieval request.
Amount of transaction receipts to allow fetching per request.
Amount of transactions to be send per request.
Amount of transactions to queried per request.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
les protocol message codes.
Maximum cap on the size of a protocol message.
les protocol message codes.
les protocol message codes.
les protocol message codes.
Protocol messages inherited from LPV1.
Protocol messages introduced in LPV3.
les protocol message codes.
# Variables
clients are searching for the first advertised protocol in the list.
Supported versions of the les protocol (first is primary).
Les3 contains the request types supported by les/2 and les/3.
Number of implemented message corresponding to different protocol versions.
Supported versions of the les protocol (first is primary).
# Structs
No description provided by the author
No description provided by the author
GetBlockBodiesPacket represents a block body request.
GetBlockHeadersData represents a block header query (the request ID is not included).
GetBlockHeadersPacket represents a block header request.
GetCodePacket represents a contract code request.
GetHelperTrieProofsPacket represents a helper trie proof request.
GetProofsPacket represents a proof request.
GetReceiptsPacket represents a block receipts request.
GetTxStatusPacket represents a transaction status query.
No description provided by the author
No description provided by the author
No description provided by the author
LesOdr implements light.OdrBackend.
No description provided by the author
No description provided by the author
No description provided by the author
Msg encodes a LES message that delivers reply data for a request.
NodeInfo represents a short summary of the Ethereum sub-protocol metadata known about the host peer.
PeerInfo represents a short summary of the `eth` sub-protocol metadata known about a connected peer.
PrivateDebugAPI provides an API to debug LES light server functionality.
PrivateLightAPI provides an API to access the LES light server or light client.
PrivateLightServerAPI provides an API to access the LES light server.
No description provided by the author
RequestType is a static struct that describes an LES request type and references its handler function.
SendTxPacket represents a transaction propagation request.
# Interfaces
Decoder is implemented by the messages passed to the handler functions.
No description provided by the author
# Type aliases
BlockRequest is the ODR request type for block bodies.
ODR request type for requesting headers by Canonical Hash Trie, see LesOdrRequest interface.
ODR request type for requesting headers by Canonical Hash Trie, see LesOdrRequest interface.
CodeData is the network response packet for a node data retrieval.
ODR request type for node data (used for retrieving contract code), see LesOdrRequest interface.
ReceiptsRequest is the ODR request type for block receipts by block hash.
No description provided by the author
ODR request type for state/storage trie entries, see LesOdrRequest interface.
TxStatusRequest is the ODR request type for transaction status.