-
Notifications
You must be signed in to change notification settings - Fork 172
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add check for minimum housekeeping complete in scraper
This commit adds an optional parameter to ScraperGetSuperblockContract, the boolean bFromHousekeeping. This optional parameter is set true when run from the ScraperHousekeeping function, causes the corresponding bMinHousekeepingComplete flag in the global cache to be set true. The superblock validator will skip validation with the state Result:UNKNOWN if this flag is false, which allows a grace period of nScraperSleep right after wallet startup where a superblock can be accepted without validation.
- Loading branch information
1 parent
2918271
commit b31bf96
Showing
3 changed files
with
22 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters