# Packages
Package downloader contains the manual full chain synchronisation.
Package fetcher contains the block announcement based synchronisation.
Package filters implements an ethereum filtering system for block, transactions and log events.
No description provided by the author
Package tracers is a collection of JavaScript transaction tracers.
# Functions
output parameter
diffTimestamp current epoch produce block use time(ms)
diffTimestamp / diffNumber Average block time(ms)
TopArray The top 10 time-consuming blocks
TxCount Total transactions
Tps Tps
ViewCountMap each view produce blocks
MissViewList missing view
ViewBlockRate view produce block rate
*/.
No description provided by the author
No description provided by the author
No description provided by the author
CreateConsensusEngine creates the required type of consensus engine instance for an Ethereum service.
New creates a new Ethereum object (including the initialisation of the common Ethereum object).
NewBloomIndexer returns a chain indexer that generates bloom bits data for the canonical chain for fast logs filtering.
NewPrivateAdminAPI creates a new API definition for the full node private admin methods of the Ethereum service.
NewPrivateDebugAPI creates a new API definition for the full node-related private debug methods of the Ethereum service.
NewPrivateMinerAPI create a new RPC service which controls the miner of this node.
NewProtocolManager returns a new PhoenixChain sub protocol manager.
NewPublicDebugAPI creates a new API definition for the full node- related public debug methods of the Ethereum service.
No description provided by the author
No description provided by the author
# Constants
eth protocol message codes.
eth protocol message codes.
eth protocol message codes.
No description provided by the author
eth protocol message codes.
eth 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
eth protocol message codes.
eth protocol message codes.
eth protocol message codes.
Protocol messages belonging to eth/63.
eth protocol message codes.
eth protocol message codes.
eth protocol message codes.
eth protocol message codes.
eth protocol message codes.
For transaction fetcher.
eth protocol message codes.
eth protocol message codes.
eth protocol message codes.
eth protocol message codes.
eth protocol message codes.
Maximum cap on the size of a protocol message.
eth protocol message codes.
Protocol messages belonging to eth/62.
eth protocol message codes.
# Variables
DefaultConfig contains default settings for use on the Ethereum main net.
ProtocolLengths are the number of implemented message corresponding to different protocol versions.
ProtocolName is the official short name of the protocol used during capability negotiation.
ProtocolVersions are the upported versions of the eth protocol (first is primary).
# Structs
No description provided by the author
BadBlockArgs represents the entries in the list returned when bad blocks are queried.
No description provided by the author
BloomIndexer implements a core.ChainIndexer, building up a rotated bloom bits index for the Ethereum header bloom filters, permitting blazing fast filtering.
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
EthAPIBackend implements ethapi.Backend for full nodes.
Ethereum implements the Ethereum full node service.
NodeInfo represents a short summary of the PhoenixChain sub-protocol metadata known about the host peer.
PeerInfo represents a short summary of the Ethereum sub-protocol metadata known about a connected peer.
PrivateAdminAPI is the collection of Ethereum full node-related APIs exposed over the private admin endpoint.
PrivateDebugAPI is the collection of Ethereum full node APIs exposed over the private debugging endpoint.
PrivateMinerAPI provides private RPC methods to control the miner.
No description provided by the author
PublicDebugAPI is the collection of Ethereum full node APIs exposed over the public debugging endpoint.
StdTraceConfig holds extra parameters to standard-json trace functions.
StorageRangeResult is the result of a debug_storageRangeAt API call.
TraceConfig holds extra parameters to trace functions.
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
# Interfaces
No description provided by the author
# Type aliases
No description provided by the author
GetPooledTransactionsPacket represents a transaction query.
NewPooledTransactionHashesPacket represents a transaction announcement packet.
PooledTransactionsPacket is the network packet for transaction distribution.
No description provided by the author