go-ethereum/eth/txtracker
Csaba Kiraly 7ccdb2c9fb 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-06-23 10:11:00 +02:00
..
tracker.go eth: only record deliverers for pool-accepted transactions 2026-06-23 10:11:00 +02:00
tracker_test.go eth: only record deliverers for pool-accepted transactions 2026-06-23 10:11:00 +02:00