You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Where GetAll and GetAllWithProofs are types that impl Iterator<Item = (KeyHash, Option<OwnedValue>)> and impl Iterator<Item = (KeyHash, Option<(OwnedValue, SparseMerkleProof)>)>, respectively, plus a variety of other iterator-related traits.
These methods would share the TreeCache for the duration of iteration, making it so that lookups from the database are not repeated. This is especially going to be useful to support range lookups based on our auxiliary key to key hash index, where we could feed the iterator resulting from a range query directly into this method, and get constant-space iteration over a key hash preimage range.
The text was updated successfully, but these errors were encountered:
There should be two more functions,
get_all
andget_all_with_proofs
:Where
GetAll
andGetAllWithProofs
are types thatimpl Iterator<Item = (KeyHash, Option<OwnedValue>)>
andimpl Iterator<Item = (KeyHash, Option<(OwnedValue, SparseMerkleProof)>)>
, respectively, plus a variety of other iterator-related traits.These methods would share the
TreeCache
for the duration of iteration, making it so that lookups from the database are not repeated. This is especially going to be useful to support range lookups based on our auxiliary key to key hash index, where we could feed the iterator resulting from a range query directly into this method, and get constant-space iteration over a key hash preimage range.The text was updated successfully, but these errors were encountered: