package
1.7.0
Repository: https://github.com/dherbst/go-ethereum.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
GetBlock retrieves an entire block corresponding to the hash, assembling it back from the stored header and body.
GetBlockReceipts retrieves the receipts generated by the transactions included in a block given by its hash.
GetBody retrieves the block body (transactons, uncles) corresponding to the hash.
GetBodyRLP retrieves the block body (transactions and uncles) in RLP encoding.
No description provided by the author
No description provided by the author
No description provided by the author
NewLightChain returns a fully initialised light chain using information available in the database.
No description provided by the author
No description provided by the author
NewTxPool creates a new light transaction pool.
StateTrieID returns a TrieID for a state trie belonging to a certain block header.
StorageTrieID returns a TrieID for a contract storage trie at a given account of a given state trie.
No description provided by the author

# Variables

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NoOdr is the default context passed to an ODR capable function when the ODR service is not required.

# Structs

BlockRequest is the ODR request type for retrieving block bodies.
No description provided by the author
TrieRequest is the ODR request type for state/storage trie entries.
CodeRequest is the ODR request type for retrieving contract code.
LightChain represents a canonical chain that by default only handles block headers, downloading block bodies and receipts on demand through an ODR interface.
ReceiptsRequest is the ODR request type for retrieving block bodies.
TrieID identifies a state or account storage trie.
TrieRequest is the ODR request type for state/storage trie entries.
No description provided by the author
TxPool implements the transaction pool for light clients, which keeps track of the status of locally created transactions, detecting if they are included in a block (mined) or rolled back.

# Interfaces

OdrBackend is an interface to a backend service that handles ODR retrievals type.
OdrRequest is an interface for retrieval requests.
TxRelayBackend provides an interface to the mechanism that forwards transacions to the ETH network.