-
Notifications
You must be signed in to change notification settings - Fork 795
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use adjusted difficulty for trees in active transactions (#1810)
* Use adjusted difficulty for trees in active transactions * add adjusted difficulty calculation * make list of dependent blocks in election * Adjust difficulty for dependent on deleted blocks elections * Potential overflow check * Using reference to items in remaining_blocks * correct words * Replace push_back with emplace_back for deque of pairs
- Loading branch information
Showing
3 changed files
with
232 additions
and
5 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