go-ethereum/core/txpool
Daniel Liu 2df9cc323a core/txpool/legacypool: fix empty cache sentinel
Restore pointer-based cache sentinel in accountSet to preserve cached-empty state.

With slices.Collect(maps.Keys(emptyMap)), the returned slice can be nil.
Using []common.Address directly makes as.cache == nil true after flatten() on an
empty set, causing repeated recomputation. Switching cache back to *[]common.Address
keeps 'cache initialized' distinct from 'cached value is nil/empty'.
2026-03-10 17:58:03 +08:00
..
blobpool core/txpool/blobpool: delay announcement of low fee txs (#33893) 2026-03-02 23:59:33 +01:00
legacypool core/txpool/legacypool: fix empty cache sentinel 2026-03-10 17:58:03 +08:00
locals core/txpool: Initialize journal writer for tx tracker (#32921) 2025-10-21 15:41:38 +08:00
errors.go core/txpool: drop peers on invalid KZG proofs 2026-01-13 17:12:08 +01:00
reserver.go core/txpool: allow tx and authority regardless of admission order (#31373) 2025-04-09 19:11:24 -06:00
subpool.go eth/fetcher: add metadata validation in tx announcement (#33378) 2025-12-11 12:11:52 +08:00
txpool.go eth/fetcher: add metadata validation in tx announcement (#33378) 2025-12-11 12:11:52 +08:00
validation.go core/txpool: drop peers on invalid KZG proofs 2026-01-13 17:12:08 +01:00
validation_test.go core/txpool: add eip2681 check for incoming transactions (#32726) 2025-09-25 13:15:12 +02:00