package
0.0.0-20231025030425-6ec8c495a25d
Repository: https://github.com/hpb-project/go-hpb.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
# Functions
CanTransfer checks wether there are enough funds in the address' account to make a transfer.
GetHashFn returns a GetHashFunc which retrieves header hashes by number.
Transfer subtracts amount from sender and adds amount to recipient using the given Db.
# Variables
ErrBannedHash is returned if a block to import is on the banned list.
No description provided by the author
No description provided by the author
No description provided by the author
List of evm-call-message pre-checking errors.
ErrFeeCapTooLow is returned if the transaction fee cap is less than the the base fee of the block.
ErrFeeCapVeryHigh is a sanity error to avoid extremely big numbers specified in the fee cap field.
ErrGasLimitReached is returned by the gas pool if the amount of gas required by a transaction is higher than what's left in the block.
ErrGasUintOverflow is returned when calculating gas usage.
No description provided by the author
ErrInsufficientFunds is returned if the total cost of executing a transaction is higher than the balance of the user's account.
ErrInsufficientFundsForTransfer is returned if the transaction sender doesn't have enough funds for transfer(topmost call only).
ErrIntrinsicGas is returned if the transaction is specified to use less gas than required to start the invocation.
ErrKnownBlock is returned when a block to import is already known locally.
ErrNoGenesis is returned when there is no Genesis Block.
ErrNonceMax is returned if the nonce of a transaction sender account has maximum allowed value and would become invalid if incremented.
ErrNonceTooHigh is returned if the nonce of a transaction is higher than the next one expected based on the local chain.
ErrNonceTooLow is returned if the nonce of a transaction is lower than the one present in the local chain.
No description provided by the author
ErrSenderNoEOA is returned if the sender of a transaction is a contract.
No description provided by the author
ErrTipAboveFeeCap is a sanity error to ensure no one is able to specify a transaction with a tip higher than the total fee cap.
ErrTipVeryHigh is a sanity error to avoid extremely big numbers specified in the tip field.
No description provided by the author
ErrTxTypeNotSupported is returned if a transaction is not supported in the current network configuration.
# Structs
No description provided by the author
# Interfaces
ChainContext supports retrieving headers and consensus parameters from the current blockchain to be used during transaction processing.
ContractRef is a reference to the contract's backing object.
No description provided by the author
Message represents a message sent to a contract.
StateDB is an EVM database for full state querying.
# Type aliases
AccountRef implements ContractRef.