Skip to content

Conversation

@skipjack8
Copy link
Contributor

What does this PR do?
Optimize the logic of scanning blocks.

  1. Add a configuration item to set the starting block that the wallet to scan.
  2. Reduce the number of blocks to request to fullnode, from 1000 to 200 at a time.

Why are these changes required?
Speed up synchronization time of shielded TRC20 transaction.

This PR has been tested by:

Manual Testing
Follow up

Extra details

@skipjack8 skipjack8 closed this Aug 27, 2020
@skipjack8 skipjack8 reopened this Sep 24, 2020
@waynercheung waynercheung self-requested a review September 24, 2020 08:32
@skipjack8 skipjack8 merged commit 2f04b59 into release_v4.1 Sep 24, 2020
@skipjack8 skipjack8 deleted the hotfix/optimize_scan_block branch January 4, 2021 08:52
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.

3 participants