go-ethereum/core/txpool
rjl493456442 7fed9584b5
core/txpool/legacypool: reject gapped tx from delegated account (#31430)
This pull request improves the protection mechanism in the txpool for 
senders with delegation. A sender with either delegation or pending 
delegation is now limited to a maximum of one in-flight executable 
transaction, while gapped transactions will be rejected.

Reason:
If nonce-gapped transaction from delegated/pending-delegated senders
can be acceptable, then it's no-longer possible to send another
"executable" transaction with correct nonce due to the policy of at most
one inflight tx. The gapped transaction will be stuck in the txpool, with no
meaningful way to unlock the sender.

---------

Co-authored-by: lightclient <lightclient@protonmail.com>
2025-03-20 22:05:15 +01:00
..
blobpool core/txpool, eth: add GetRLP to transaction pool (#31307) 2025-03-19 14:20:50 +08:00
legacypool core/txpool/legacypool: reject gapped tx from delegated account (#31430) 2025-03-20 22:05:15 +01:00
locals eth: do not add failed tx to localTxTracker (#31202) 2025-03-01 13:58:57 +01:00
errors.go core/txpool: move setcode tx validation into legacyPool (#31209) 2025-02-24 14:17:21 -07:00
subpool.go core/txpool, eth: add GetRLP to transaction pool (#31307) 2025-03-19 14:20:50 +08:00
txpool.go core/txpool, eth: add GetRLP to transaction pool (#31307) 2025-03-19 14:20:50 +08:00
validation.go eth: check blob transaction validity on the peer goroutine when received (#31219) 2025-03-01 14:10:38 +01:00