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

fix: prevent fetching pool transactions every tick #284

Merged
merged 1 commit into from
Apr 2, 2024

Commits on Apr 2, 2024

  1. fix: prevent fetching pool transactions every tick

    Currently we fetch receipt of each transaction that is in pending block
    on every tick, even if we already saw this transaction before.
    
    This is causing lots of requests as block can have ~400 transactions
    sitting in it for minutes and we hit it every 2 seconds.
    
    Now instead of fetching those and skipping this in handlePool we skip
    those before they are even fetched.
    Sekhmet committed Apr 2, 2024
    Configuration menu
    Copy the full SHA
    7c56ce7 View commit details
    Browse the repository at this point in the history