We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When using cprovider to stream attestations, we do a full historical search when fetching each subsequent batch of attestations.
But subsequent attestations will never be at an earlier height, so if the previous fetched height is known, the lookback step can be skipped.
lookback
This should decrease the historical baseline metric.
historical baseline
Cache the height used to fetch the next back of attestations when streaming. Use this as lookback result when fetching the next batch
The text was updated successfully, but these errors were encountered:
Related thread https://omni-chain.slack.com/archives/C02HCJN6KNE/p1729174654091949
Sorry, something went wrong.
feat(realyer): cache height for offset search (#2325)
c0f4c68
Cache the height found during attestation offset lookback search so it can be reused on the next offset search. issue: #1860
sideninja
No branches or pull requests
Problem to Solve
When using cprovider to stream attestations, we do a full historical search when fetching each subsequent batch of attestations.
But subsequent attestations will never be at an earlier height, so if the previous fetched height is known, the
lookback
step can be skipped.This should decrease the
historical baseline
metric.Proposed Solution
Cache the height used to fetch the next back of attestations when streaming.
Use this as lookback result when fetching the next batch
The text was updated successfully, but these errors were encountered: