-
Notifications
You must be signed in to change notification settings - Fork 221
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1939 - Fixed issues where the indices used to retrieve the node counts weren't correctly calculated in the lmdb_db fetch_last_mmr_node_added_count and memory_db fetch_mmr_nodes_added_count functions. - Also added a small optimisation to ensure that no db query needs to be processed when the checkpoint sets are empty. - Removed the fetch_last_mmr_node_added_count calls from the memory_db construction as it is unable to restore state. * pull/1939/head: - Fixed issues where the indices used to retrieve the node counts weren't correctly calculated in the lmdb_db fetch_last_mmr_node_added_count and memory_db fetch_mmr_nodes_added_count functions. - Also added a small optimisation to ensure that no db query needs to be processed when the checkpoint sets are empty. - Removed the fetch_last_mmr_node_added_count calls from the memory_db construction as it is unable to restore state.
- Loading branch information
Showing
2 changed files
with
38 additions
and
63 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