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

WIP DO NOT MERGE: Ensure non-null restart callback ... #394

Closed
wants to merge 1 commit into from

Conversation

AdamISZ
Copy link
Member

@AdamISZ AdamISZ commented Sep 6, 2019

... always passed to add_watchonly_addresses.

As per title, basically adding the restart callback path via the fast sync also.

Not tested yet, but the idea is that it removes the conditions of #393 to occur, but I'm not yet fully satisfied (even if it tests OK) because there is still no fundamental way to distinguish between when wallet->load is loading an old but not imported here, wallet, and a currently imported here, wallet.

The latter should use fast because it's much quicker and more reliable, but the former cannot. We probably just need a way for the code to recognize a flag that says "fast sync didn't work", and then switch to detailed sync, in that case, under the hood - and it must remember to do the detailed sync over several iterations, as the CLI scripts do.

@AdamISZ AdamISZ mentioned this pull request Oct 26, 2019
@AdamISZ
Copy link
Member Author

AdamISZ commented Oct 26, 2019

I believe this is no longer needed, see rationale at end of thread #393

@AdamISZ AdamISZ closed this Oct 26, 2019
@AdamISZ AdamISZ deleted the fix-old-wallet-sync-qt branch November 4, 2019 13:25
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.

1 participant