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

Prevent multiple concurrent wallet rescans #517

Closed
jholdstock opened this issue Sep 8, 2019 · 2 comments · Fixed by #519
Closed

Prevent multiple concurrent wallet rescans #517

jholdstock opened this issue Sep 8, 2019 · 2 comments · Fixed by #519

Comments

@jholdstock
Copy link
Member

dcrstakepool will sometimes insert a whole bunch of redeem scripts into a wallet at once. For example - a 3 wallet VSP has a fourth wallet added - dcrstakepool will import all of the known scripts into the new wallet. This causes an issue right now because its using ImportScriptRescanFrom, which means if 100 scripts are inserted, 100 rescans are also triggered.

@jholdstock
Copy link
Member Author

I'm working on this, got a solution mostly coded up but discussing on Matrix the best way to trigger a single rescan without using ImportScriptRescanFrom

@JoeGruffins
Copy link
Member

related? decred/dcrwallet#1490

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 a pull request may close this issue.

2 participants