-
Notifications
You must be signed in to change notification settings - Fork 214
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
miner: use atxsdata to generate activeset and persist it (#5552)
related: #5192 #5106 this change accomplishes three things: - removes lru cache from miner module, after this change it won't be on paths sensitive to timings and can be reduced - allows to prepare activeset in advance, before epoch starts - persists prepared activeset, so that node doesn't have to redo the work after restart in order to prepare activeset we don't have to wait for the first layer of the epoch, all the data required for activeset must be downloaded as soon as two hours prior to epoch start, but in configuration i set preparation to start 30m before the epoch start. also this process becomes more and more expensive with the number of atxs growth, and there is a benefit of persisting activeset locally.
- Loading branch information
Showing
14 changed files
with
999 additions
and
371 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
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
Oops, something went wrong.