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

WalletBackend block cache + prefetch #816

Merged

Conversation

Projects
None yet
2 participants
@zpalmtree
Copy link
Collaborator

commented May 13, 2019

Prefetches blocks to increase syncing speed. Sync speed comparison:

Program Node Type Block Pre Fetch Blocks Per Second
zedwallet Remote Unknown 96
zedwallet Local Unknown 131
zedwallet-beta Cache No 62
zedwallet-beta Cache Yes 137
zedwallet-beta Local Yes 312
TonChan Cache Yes 18
C++ on Phone Cache No 48

I have not tested that intensively. Might be some bugs I missed. Did not crash in my tests, retains sync progress, and can send/receive transactions successfully. Possibly some race conditions/dead locks.

@zpalmtree zpalmtree requested a review from brandonlehmann May 13, 2019

@zpalmtree

This comment has been minimized.

Copy link
Collaborator Author

commented May 15, 2019

Is this fine to merge now, or?

@brandonlehmann
Copy link
Collaborator

left a comment

i thought i had approved, sorry. i see green checkmarks

@brandonlehmann brandonlehmann merged commit 2fbc87e into turtlecoin:development May 15, 2019

2 checks passed

continuous-integration/appveyor/pr AppVeyor build succeeded
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.