Function iroh_blobs::get::request::get_verified_size

source ·
pub async fn get_verified_size(
    connection: &Connection,
    hash: &Hash
) -> Result<(u64, Stats)>
Expand description

Get the verified size of a blob from a peer.

This asks for the last chunk of the blob and validates the response. Note that this does not validate that the peer has all the data.