bnb-chain / op-geth

GNU Lesser General Public License v3.0
58 stars 47 forks source link

pevm: refactor txdag reader #212

Closed welkin22 closed 2 weeks ago

welkin22 commented 2 weeks ago

Description

The process of the txDAG reader reading files should not occur during block processing. It should be handled separately by a goroutine to achieve better performance and lower memory usage.

Rationale

Refactored the implementation of txDAGReader to improve performance and reduce memory usage.

Example

none

Changes

Notable changes: