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

Backend - Pagination implementation for Blocks Tab #378

Merged
merged 1 commit into from
May 29, 2023

Conversation

Udhayakumari
Copy link
Contributor

What this PR does / why we need it:

This feature implements the pagination for list of blocks to be fetched from PostgreSQL.
As of now the pagination is being handled from UI. Implementing pagination from backend addresses an issue when dealing with retrieval of huge data sets.

Which issue(s) this PR fixes:

Fixes #356

Special notes for your reviewer:

Does this PR introduce a user-facing change?

No

Additional documentation, usage docs, etc.:


Copy link
Contributor

@adityajoshi12 adityajoshi12 left a comment

Choose a reason for hiding this comment

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

LGTM

Signed-off-by: Udhayakumari <pudhayakumari95@gmail.com>
@ArchanaArige
Copy link
Contributor

Modified the blocks query to support multiple transactions. Tested and its working fine.

multiTxn

@ArchanaArige ArchanaArige merged commit 6cbccae into hyperledger-labs:main May 29, 2023
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.

Backend - Pagination implementation for Blocks Tab
3 participants