Improve range filter performance #2633
Labels
A-rpc
Related to the RPC implementation
C-enhancement
New feature or request
C-perf
A change motivated by improving speed, memory usage or disk footprint
Describe the feature
Currently, the range filter fetches the entire block one by one:
reth/crates/rpc/rpc/src/eth/filter.rs
Line 316 in 041b8d3
this is suboptimal because we only need the body if the bloom matches
we do however need to read all the headers, this should be done first via the
headers_range
API which should be fast and then only fetch the full body via cacheTODO
Additional context
No response
The text was updated successfully, but these errors were encountered: