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: Use batch rpc to request result. Optimization sql search. #2530

Merged
merged 4 commits into from
Jan 5, 2023

Conversation

yanguoyu
Copy link
Collaborator

  1. For the nerovs dao page, there are many rpc requests, use batch request.
  2. Because some users have many relations with others cells, left join twice to search inputs and outputs.
  3. Find unlock transactions with the status that equal Dead or Pending.

Copy link
Contributor

@Cedar67 Cedar67 left a comment

Choose a reason for hiding this comment

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

Due to the changes to the ckb architecture, this PR needs to be validated after being merged into the develop branch.

1. For the nerovs dao page, there are many rpc requests, use batch request.
2. Because some users have many relations with others cells, left join twice to search inputs and outputs.
3. Find unlock transactions with the status that equal Dead or Pending.
@yanguoyu
Copy link
Collaborator Author

Due to the changes to the ckb architecture, this PR needs to be validated after being merged into the develop branch.

I have rebased develop.

@yanguoyu yanguoyu merged commit 1f2d884 into nervosnetwork:develop Jan 5, 2023
@yanguoyu yanguoyu deleted the fix-batch-rpc branch January 5, 2023 03:00
@Cedar67
Copy link
Contributor

Cedar67 commented Jan 9, 2023

Verified on develop branch.

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.

4 participants