Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

eth/filters: reduce database read when handling eth_getLogs #395

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Sep 25, 2024

  1. eth/filters: reduce database read when handling eth_getLogs

    While profiling, we see that when bloom filter hits, 1/3 CPU time in check log
    match routine is used to get the corresponding block number from block hash.
    This is redundant as this information is available already and can be passed via
    function argument. This commit adds block number parameter to GetLogs interface
    to pass the available block number information.
    minh-bq committed Sep 25, 2024
    Configuration menu
    Copy the full SHA
    15ef4fa View commit details
    Browse the repository at this point in the history