ethereum-optimism / op-geth

GNU Lesser General Public License v3.0
255 stars 654 forks source link

core/txpool/legacypool: respect nolocals-setting (#28435) #231

Closed trianglesphere closed 5 months ago

trianglesphere commented 5 months ago

Description

This change adds a check to ensure that transactions added to the legacy pool are not treated as 'locals' if the global locals-management has been disabled.

This change makes the pool enforce the --txpool.pricelimit setting.

Tests

This backport PR has tests.

Additional context

This PR or the upstream commit should be removed when #215 is merged.