# Functions
No description provided by the author
BytesToBloom converts a byte slice to a bloom filter.
No description provided by the author
ConvertLegacyStoredReceipts takes the RLP encoding of an array of legacy stored receipts and returns a fresh RLP-encoded stored receipt.
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.
IsLegacyStoredReceipts tries to parse the RLP-encoded blob first as an array of v3 stored receipt, then v4 stored receipt and returns true if successful.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
MakeSigner returns a Signer based on the given chain config and block number.
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
No description provided by the author
No description provided by the author
No description provided by the author
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.
No description provided by the author
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.
No description provided by the author
No description provided by the author
No description provided by the author
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.
No description provided by the author
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
BloomBitLength represents the number of bits used in a header log bloom.
BloomByteLength represents the number of bytes used in a header log bloom.
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
No description provided by the author
No description provided by the author
ReceiptStatusFailed is the status code of a transaction if execution failed.
ReceiptStatusSuccessful is the status code of a transaction if execution succeeded.
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
# 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
# Structs
No description provided by the author
Block represents an entire block in the Anduschain 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.
otprn data.
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
EIP155Transaction implements Signer using the EIP155 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
No description provided by the author
No description provided by the author
Header represents a block header in the Anduschain blockchain.
for miner heart beat.
HomesteadTransaction implements TransactionInterface using the homestead rules.
payload, RLP encoded.
No description provided by the author
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.
NewJoinTxsEvent is posted when a batch of join transactions enter the join transaction pool.
for deb consensus.
NewMinedBlockEvent is posted when a block has been imported.
NewTxsEvent is posted when a batch of transactions enter the transaction pool.
No description provided by the author
PendingLogsEvent is posted pre mining and notifies of pending logs.
No description provided by the author
Receipt represents the results of a transaction.
RemovedLogsEvent is posted when a reorg happens.
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.
No description provided by the author
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
No description provided by the author
# Interfaces
No description provided by the author
Signer encapsulates transaction signature handling.
TrieHasher is the tool used to calculate the hash of derivable list.
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.
No description provided by the author
LogForStorage is a wrapper around a Log that flattens and parses the entire content of a log including non-consensus fields.
No description provided by the author
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.
No description provided by the author
[deprecated by eth/63] StorageBlock defines the RLP encoding of a Block stored in the state database.
Transactions is a Transaction slice type for basic sorting.
TxByNonce implements the sort interface to allow sorting a list of transactions by their nonces.
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.
No description provided by the author