Module merkle_search_tree::diff
source · Expand description
Tree difference calculation algorithm & associated types.
Structs
- An inclusive range of keys that differ between two serialised ordered sets of
PageRange. - A serialised representation of the range of keys contained within the sub-tree rooted at a given
Page, and the associatedPageDigest. - An owned point-in-time snapshot of the
PageRangereturned from a call toMerkleSearchTree::serialise_page_ranges().
Functions
- Compute the difference between
localandpeer, returning the set ofDiffRangecovering the inconsistent key ranges found inpeer.