go-ethereum/eth/txtracker
Csaba Kiraly a1a5d73324 eth: only record deliverers for pool-accepted transactions
NotifyReceived was called before pool validation, allowing a peer
to claim deliverer credit by replaying already-included txs or
sending invalid packets.

Rename to NotifyAccepted (takes hashes, not full txs). Call it from
a new enqueueAndTrack helper in handler_eth.go that runs after
Enqueue and checks pool.Has to identify accepted txs. Only accepted
txs are credited to the delivering peer.
2026-04-10 10:33:36 +02:00
..
tracker.go eth: only record deliverers for pool-accepted transactions 2026-04-10 10:33:36 +02:00
tracker_test.go eth: only record deliverers for pool-accepted transactions 2026-04-10 10:33:36 +02:00