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

GUI freeze fix during batch verification #1069

Merged
merged 3 commits into from
Sep 27, 2021
Merged

GUI freeze fix during batch verification #1069

merged 3 commits into from
Sep 27, 2021

Conversation

levonpetrosyan93
Copy link
Contributor

No description provided.

// Do batch verification if we reach 1 day old block,
BatchProofContainer* batchProofContainer = BatchProofContainer::get_instance();
batchProofContainer->fCollectProofs = ((GetSystemTimeInSeconds() - pindexNewTip->GetBlockTime()) > 86400) && GetBoolArg("-batching", true);
BatchProofContainer::get_instance()->verify();
Copy link
Contributor

Choose a reason for hiding this comment

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

why not batchProofContainer->verify() ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ah correct, will fix, just a typo

@reubenyap reubenyap added this to the v0.14.9.0 ProgPOW milestone Sep 24, 2021
@reubenyap reubenyap added bug GUI GUI related issues labels Sep 26, 2021
@a-bezrukov a-bezrukov merged commit 0fccb58 into master Sep 27, 2021
@a-bezrukov a-bezrukov deleted the gui_freez_fix branch September 27, 2021 13:27
levonpetrosyan93 added a commit that referenced this pull request May 17, 2023
* GUI freeze fix during batch verification
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug GUI GUI related issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants