package
5.6.3-darwinv2-rc0+incompatible
Repository: https://github.com/scroll-tech/go-ethereum.git
Documentation: pkg.go.dev

# Functions

Bloom9 returns the bloom filter for the given data.
BloomLookup is a convenience-method to check presence int he bloom filter.
BytesToBloom converts a byte slice to a bloom filter.
No description provided by the author
CopyHeader creates a deep copy of a block header to prevent side effects from modifying a header variable.
CreateBloom creates a bloom filter out of the give Receipts (+Logs).
DeriveSha creates the tree hashes of transactions and receipts in a block header.
EncodeNonce converts the given integer to a block nonce.
LatestSigner returns the 'most permissive' Signer available for the given chain configuration.
LatestSignerForChainID returns the 'most permissive' Signer available.
LogsBloom returns the bloom bytes for the given logs.
MakeSigner returns a Signer based on the given chain config and block number.
MustSignNewTx creates a transaction and signs it.
NewBlock creates a new block.
NewBlockWithHeader creates a block with the given header data.
NewContractCreation creates an unsigned legacy transaction.
No description provided by the author
NewEIP2930Signer returns a signer that accepts EIP-2930 access list transactions, EIP-155 replay protected transactions, and legacy Homestead transactions.
No description provided by the author
NewLondonSigner returns a signer that accepts - EIP-1559 dynamic fee transactions - EIP-2930 access list transactions, - EIP-155 replay protected transactions, and - legacy Homestead transactions.
NewLondonSignerWithEIP4844 returns a signer that accepts - EIP-4844 blob transactions - EIP-1559 dynamic fee transactions - EIP-2930 access list transactions, - EIP-155 replay protected transactions, and - legacy Homestead transactions.
No description provided by the author
NewReceipt creates a barebone transaction receipt, copying the init fields.
NewStructLogResBasic Basic StructLogRes skeleton, Stack&Memory&Storage&ExtraData are separated from it for GC optimization; still need to fill in with Stack&Memory&Storage&ExtraData.
NewTransaction creates an unsigned legacy transaction.
NewTransactionData returns a transaction that will serialize to the trace representation, with the given location metadata set (if available).
NewTransactionsByPriceAndNonce creates a transaction set that can retrieve price sorted transactions in a nonce-honouring way.
NewTx creates a new transaction.
NewTxWithMinerFee creates a wrapped transaction, calculating the effective miner gasTipCap if a base fee is provided.
Sender returns the address derived from the signature (V, R, S) using secp256k1 elliptic curve and an error if it failed deriving or upon an incorrect signature.
SignNewTx creates a transaction and signs it.
SignTx signs the transaction using the given signer and private key.
TxDifference returns a new set which is the difference between a and b.
No description provided by the author
WrapProof turn the bytes array into proof type (array of hexutil.Bytes).

# Constants

Transaction types.
Transaction types.
BloomBitLength represents the number of bits used in a header log bloom.
BloomByteLength represents the number of bytes used in a header log bloom.
Transaction types.
Transaction types.
Transaction types.
ReceiptStatusFailed is the status code of a transaction if execution failed.
ReceiptStatusSuccessful is the status code of a transaction if execution succeeded.
RowConsumptionLimit is the max number of row we support per subcircuit.

# 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
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

# Structs

AccessListTx is the data of EIP-2930 access list transactions.
AccessTuple is the element type of an access list.
No description provided by the author
BlobTx represents an EIP-4844 transaction.
BlobTxSidecar contains the blobs of a blob transaction.
Block represents an entire block in the Ethereum blockchain.
BlockTrace contains block execution traces and results required for rollers.
No description provided by the author
Body is a simple (mutable, non-safe) data container for storing and moving a block's data contents (transactions and uncles) together.
BytecodeTrace stores all accessed bytecodes.
No description provided by the author
EIP155Signer implements Signer using the EIP-155 rules.
ExecutionResult groups all structured logs emitted by the EVM while replaying a transaction in debug mode as well as transaction execution status, the amount of gas used and the return value.
No description provided by the author
Header represents a block header in the Ethereum blockchain.
HomesteadTransaction implements TransactionInterface using the homestead rules.
L1MessagesByQueueIndex represents a set of L1 messages ordered by their queue indices.
payload, RLP encoded.
LegacyTx is the transaction data of regular Ethereum transactions.
Log represents a contract log event.
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
StateAccount is the Ethereum consensus representation of accounts.
StorageTrace stores proofs of storage needed by storage circuit.
StorageWrapper while key & value can also be retrieved from StructLogRes.Storage, we still stored in here for roller's processing convenience.
StructLogRes stores a structured log emitted by the EVM while replaying a transaction in debug mode.
go:generate gencodec -type SubCircuitRowUsage -out gen_row_consumption_json.go.
Transaction is an Ethereum 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.
TxWithMinerFee wraps a transaction with its gas price or effective miner gasTipCap.

# Interfaces

DerivableList is the input to DeriveSha.
OrderedTransactionSet represents a set of transactions and some ordering on top of this set.
Signer encapsulates transaction signature handling.
TrieHasher is the tool used to calculate the hash of derivable list.
TxData is the underlying data of a transaction.

# Type aliases

AccessList is an EIP-2930 access list.
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 implements DerivableList for receipts.
No description provided by the author
Transactions implements DerivableList for transactions.
TxByNonce implements the sort interface to allow sorting a list of transactions by their nonces.
TxByPriceAndTime implements both the sort and the heap interface, making it useful for all at once sorting as well as individually adding and removing elements.