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

Speed up shield sync #343

Merged
merged 4 commits into from
Apr 17, 2024
Merged

Conversation

panleone
Copy link
Member

Abstract

Do not fetch coinbase and coinstake txs when syncing shield. It's useless since they will never contain shield data.
This simple optimization made my wallet sync 40% faster.

@panleone panleone requested a review from Duddino April 15, 2024 15:08
@panleone panleone self-assigned this Apr 15, 2024
@panleone panleone added the Enhancement New feature or request label Apr 15, 2024
Copy link

netlify bot commented Apr 15, 2024

Deploy Preview for cheery-moxie-4f1121 ready!

Name Link
🔨 Latest commit 6644ac1
🔍 Latest deploy log https://app.netlify.com/sites/cheery-moxie-4f1121/deploys/661ff5d088c76200080ceb65
😎 Deploy Preview https://deploy-preview-343--cheery-moxie-4f1121.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

JSKitty
JSKitty previously approved these changes Apr 16, 2024
Copy link
Member

@JSKitty JSKitty left a comment

Choose a reason for hiding this comment

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

tACK 5c031d1

I tested this back-to-back against another Master instance using the same seed - unfortunately my internet is too slow to see a huge difference, but I can still notice it. Either way, code looks good and makes sense.

Duddino
Duddino previously approved these changes Apr 17, 2024
Copy link
Member

@Duddino Duddino left a comment

Choose a reason for hiding this comment

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

tACK other than minor JSdoc nits

Copy link
Member

@JSKitty JSKitty left a comment

Choose a reason for hiding this comment

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

tACK 6644ac1

@panleone panleone merged commit 321df7f into PIVX-Labs:master Apr 17, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants