# README
truechain-engineering-code
init
# Packages
Package downloader contains the manual full chain synchronisation.
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.
No description provided by the author
# Functions
CreateConsensusEngine creates the required type of consensus engine instance for an Truechain service.
CreateDB creates the chain database.
New creates a new Truechain object (including the initialisation of the common Truechain object).
NewBloomIndexer returns a chain indexer that generates bloom bits data for the canonical chain for fast logs filtering.
NewPbftAgent creates a new pbftAgent ,receive events from election and communicate with pbftServer.
NewPrivateAdminAPI creates a new API definition for the full node private admin methods of the Truechain service.
NewPrivateDebugAPI creates a new API definition for the full node-related private debug methods of the Truechain service.
NewPrivateMinerAPI create a new RPC service which controls the miner of this node.
NewProtocolManager returns a new Truechain sub protocol manager.
NewPublicDebugAPI creates a new API definition for the full node- related public debug methods of the Truechain service.
NewPublicMinerAPI create a new PublicMinerAPI instance.
NewPublicTruechainAPI creates a new Truechain protocol API for full nodes.
# Constants
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
etrue protocol message codes.
etrue protocol message codes.
etrue protocol message codes.
etrue protocol message codes.
etrue protocol message codes.
etrue protocol message codes.
etrue protocol message codes.
etrue protocol message codes.
etrue protocol message codes.
etrue protocol message codes.
etrue protocol message codes.
snail sync.
etrue protocol message codes.
etrue protocol message codes.
etrue protocol message codes.
Maximum cap on the size of a protocol message.
etrue protocol message codes.
etrue protocol message codes.
etrue protocol message codes.
Protocol messages belonging to etrue/63.
etrue protocol message codes.
etrue protocol message codes.
etrue protocol message codes.
# Variables
DefaultConfig contains default settings for use on the Truechain 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 etrue protocol (first is primary).
# Structs
AgentWork is the leader current environment and holds all of the current state information.
BadBlockArgs represents the entries in the list returned when bad blocks are queried.
BlockBodiesRawData represents a block header send.
BlockHeadersData represents a block header send.
BloomIndexer implements a core.ChainIndexer, building up a rotated bloom bits index for the Truechain header bloom filters, permitting blazing fast filtering.
No description provided by the author
NodeInfo represents a short summary of the Truechain sub-protocol metadata known about the host peer.
PbftAgent receive events from election and communicate with pbftServer.
PeerInfo represents a short summary of the Truechain sub-protocol metadata known about a connected peer.
PrivateAdminAPI is the collection of Truechain full node-related APIs exposed over the private admin endpoint.
PrivateDebugAPI is the collection of Truechain 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 Truechain full node APIs exposed over the public debugging endpoint.
PublicMinerAPI provides an API to control the miner.
PublicTruechainAPI provides an API to access Truechain full node-related information.
StorageRangeResult is the result of a debug_storageRangeAt API call.
TraceConfig holds extra parameters to trace functions.
TRUEAPIBackend implements ethapi.Backend for full nodes.
Truechain implements the Truechain full node service.
ULCConfig is a Ultra Light client options.
# Interfaces
No description provided by the author
Backend wraps all methods required for pbft_agent.
No description provided by the author
No description provided by the author