package
0.0.0-20231025030425-6ec8c495a25d
Repository: https://github.com/hpb-project/go-hpb.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
BytesToBloom converts a byte slice to a bloom filter.
No description provided by the author
No description provided by the author
No description provided by the author
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
EncodeNonce converts the given integer to a block nonce.
IntrinsicGas computes the 'intrinsic gas' for a message with the given data.
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
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
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.
SignTx signs the transaction using the given signer and private key.
Returns a new set t which is the difference between a to b.

# Constants

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.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Version(0) means data before defined ExtraDetail.
Transaction types.
ReceiptStatusFailed is the status code of a transaction if execution failed.
ReceiptStatusSuccessful is the status code of a transaction if execution succeeded.

# 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

# Structs

AccessListTx is the data of EIP-2930 access list transactions.
AccessTuple is the element type of an access list.
Block represents an entire block in the Hpb blockchain.
Body is a simple (mutable, non-safe) data container for storing and moving a block's data contents (transactions and uncles) together.
EIP155Transaction implements Signer using the EIP155 rules.
No description provided by the author
Header represents a block header in the Hpb blockchain.
Log represents a contract log event.
No description provided by the author
Receipt represents the results of a transaction.
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-maximising sorted order, while supporting removing entire batches of transactions for non-executable accounts.
Definition of transaction'exdata'Transaction Version Number and Transfer Transaction Occupy 16 Bytes of 'exdata' Field.
No description provided by the author

# Interfaces

No description provided by the author
Signer encapsulates transaction signature handling.
TxData is the underlying data of a transaction.

# Type aliases

AccessList is an EIP-2930 access list.
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.
[deprecated by eth/63] StorageBlock defines the RLP encoding of a Block stored in the state database.
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.