# Packages
No description provided by the author
# Functions
No description provided by the author
BytesToBloom converts a byte slice to a bloom filter.
CopyHeader creates a deep copy of a block header to prevent side effects from modifying a header variable.
No description provided by the author
No description provided by the author
No description provided by the author
EncodeNonce converts the given integer to a block nonce.
No description provided by the author
NewBlock creates a new block.
NewBlockWithHeader creates a block with the given header data.
No description provided by the author
No description provided by the author
NewReceipt creates a barebone transaction receipt, copying the init fields.
No description provided by the author
NewTransactionsByPriceAndNonce creates a transaction set that can retrieve price sorted transactions in a nonce-honouring way.
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
TxDifference returns a new set which is the difference between a and b.
# Constants
BloomBitLength represents the number of bits used in a header log bloom.
BloomByteLength represents the number of bytes used in a header log bloom.
ReceiptStatusFailed is the status code of a transaction if execution failed.
ReceiptStatusSuccessful is the status code of a transaction if execution succeeded.
# Structs
No description provided by the author
Block represents an entire block in the Ethereum blockchain.
"external" block encoding.
Body is a simple (mutable, non-safe) data container for storing and moving a block's data contents (transactions) together.
Version_0 represents a block header in the Ethereum blockchain.
No description provided by the author
No description provided by the author
No description provided by the author
Log represents a contract log event.
No description provided by the author
Message is a fully derived transaction and implements core.Message
NOTE: In a future PR this will be removed.
Receipt represents the results of a transaction.
No description provided by the author
TransactionsByPriceAndNonce represents a set of transactions that can return transactions in a profit-maximizing sorted order, while supporting removing entire batches of transactions for non-executable accounts.
No description provided by the author
# Interfaces
No description provided by the author
# Type aliases
No description provided by the author
A BlockNonce is a 64-bit hash which proves (combined with the mix-hash) that a sufficient amount of computation has been carried out on a block.
No description provided by the author
Bloom represents a 2048 bit bloom filter.
LogForStorage is a wrapper around a Log that flattens and parses the entire content of a log including non-consensus fields.
ReceiptForStorage is a wrapper around a Receipt that flattens and parses the entire content of a receipt, as opposed to only the consensus fields originally.
Receipts is a wrapper around a Receipt array to implement DerivableList.
Transactions is a Transaction slice type for basic sorting.
TxByPrice implements both the sort and the heap interface, making it useful for all at once sorting as well as individually adding and removing elements.