package
0.0.0-20231215075018-c46f13ea36d0
Repository: https://github.com/abcdecapital/parallel-go-ethereum.git
Documentation: pkg.go.dev

# Functions

NewTxPool creates a new transaction pool to gather, sort and filter inbound transactions from the network.

# Constants

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

DefaultConfig contains the default configurations for the transaction pool.
ErrAlreadyKnown is returned if the transactions is already contained within the pool.
ErrGasLimit is returned if a transaction's requested gas limit exceeds the maximum allowance of the current block.
ErrInvalidSender is returned if the transaction contains an invalid signature.
ErrNegativeValue is a sanity error to ensure no one is able to specify a transaction with a negative value.
ErrOversizedData is returned if the input data of a transaction is greater than some meaningful limit a user might use.
ErrReplaceUnderpriced is returned if a transaction is attempted to be replaced with a different one without the required price bump.
ErrTxPoolOverflow is returned if the transaction pool is full and can't accept another remote transaction.
ErrUnderpriced is returned if a transaction's gas price is below the minimum configured for the transaction pool.

# Structs

Config are the configuration parameters of the transaction pool.
TxPool contains all currently known transactions.

# Type aliases

TxStatus is the current status of a transaction as seen by the pool.