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

Search tx pagination (limit/offset) adjustments #84

Merged
merged 9 commits into from
Dec 19, 2024

Conversation

piotr-iohk
Copy link
Collaborator

This PR introduces adjustments into search tx pagination (offset/limit). Before the calculation of offset was not correct in cases when the results were returning results from different buckets (e.g. user commands, internal and/or zkapp). Currently it seems to be correct.

Additionally I have updated the queries to use pending tx only higher than max canonical, which in some cases seems to give some performance gains.

@piotr-iohk piotr-iohk merged commit 6d4974b into main Dec 19, 2024
6 checks passed
@piotr-iohk piotr-iohk deleted the search-tx-offset-limit branch December 19, 2024 14:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants