Expand description
Utilities for complex get requests.
Functionsยง
- get_
chunk_ probe - Probe for a single chunk of a blob.
- get_
hash_ seq_ and_ sizes - Given a hash of a hash seq, get the hash seq and the verified sizes of its children.
- get_
unverified_ size - Get the claimed size of a blob from a peer.
- get_
verified_ size - Get the verified size of a blob from a peer.
- random_
hash_ seq_ ranges - Given a sequence of sizes of children, generate a range spec that selects a random chunk of a random child.