8000 Handle paginated acceleration results by mononaut · Pull Request #5485 · mempool/mempool · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Handle paginated acceleration results #5485

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

Merged
merged 2 commits into from
Sep 13, 2024

Conversation

mononaut
Copy link
Collaborator

Quick temporary fix for an issue where transactions are not shown as accelerated if they appear after the first page of results from the /api/v1/services/accelerator/accelerations/history?blockHeight=... API.

The PR adds a getAllAccelerationHistory$(params, limit, findTxid) method to the frontend services API service, which fetches all pages of results for a given query, up to a maximum of limit accelerations or until findTxid is found (if provided).

Testing: https://mempool.space/tx/1662676e179a16df2f5121cee9ce9b79ae1e55b8c89883459bf6e087635de227 should appear as accelerated

@mononaut mononaut requested a review from softsimon August 28, 2024 14:50
@cla-bot cla-bot bot added the cla-signed label Aug 28, 2024
Copy link
Member
@softsimon softsimon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tested ACK @ [2a7d576]

@softsimon softsimon merged commit c4b90c2 into master Sep 13, 2024
13 checks passed
@softsimon softsimon deleted the mononaut/paginated-accel-history branch September 13, 2024 14:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0