mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-08 07:58:40 +00:00
The gapped transaction queue had limited observability: addGappedMeter fired before the allowance/maxGapped check, so it counted all nonce- too-high attempts rather than actual additions. This change: - Moves addGappedMeter to fire only after a tx is actually added to the gapped queue - Adds addGappedRejectMeter for rejected gapped txs (no allowance or queue full) - Adds gappedPromotedMeter for txs promoted from gapped queue to main pool - Adds gappedStaleMeter for txs that became stale during promotion - Adds gappedEvictedMeter for txs evicted by timeout or nonce staleness - Adds gappedGauge to track the current gapped queue size Fixes #33811 |
||
|---|---|---|
| .. | ||
| blobpool | ||
| legacypool | ||
| locals | ||
| errors.go | ||
| reserver.go | ||
| subpool.go | ||
| txpool.go | ||
| validation.go | ||
| validation_test.go | ||