Versions in this module Expand all Collapse all v1 v1.1.0 Oct 24, 2023 Changes in this version type TxPool + LatestIncludedTxs *lru.Cache + func (tp *TxPool) RemoveTx(tx *types.Transaction) error v1.0.0 Oct 17, 2023 Changes in this version + var ErrInvalidTransaction = errors.New("invalid transaction") + type Empty struct + type TxPool struct + MinFee *big.Int + State *dbstore.DB + Transactions []*types.Transaction + TxPoolCh chan *types.Transaction + func NewTxPool(minFee *big.Int, db *dbstore.DB, txpoolCh chan *types.Transaction) *TxPool + func (tp *TxPool) AddTx(tx *types.Transaction) + func (tp *TxPool) AddTx_RPC(args *types.Transaction, reply *types.RPCResponse) error + func (tp *TxPool) AddTxs(txs []*types.Transaction) + func (tp *TxPool) GetTxs() []*types.Transaction + func (tp *TxPool) GetTxs_RPC(_ *Empty, reply *types.RPCResponse) error + func (txp *TxPool) IsValid(tx *types.Transaction) bool