-
Notifications
You must be signed in to change notification settings - Fork 111
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cleanup(state): Refactor subtree read functions to accept ranges and …
…check memory first (#7739) * refactors sapling_subtrees to use ranges * refactor orchard_subtrees() to use ranges * Restores check for inconsistent subtree roots * updates vectors tests * Applies some suggestions from code review and adds `read::tree::subtrees` function * updates correctness comment & db read method names * adds test_subtrees * tests in-memory reads * test that subtree read fns work right with excluded start bound * applies suggestions from code review * Applies suggestions from code review. * Updates docs applying suggestion from code review * adds new arg to zs_range_iter calls
Showing
5 changed files
with
265 additions
and
305 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
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