Gnutella Forums

Gnutella Forums (https://www.gnutellaforums.com/)
-   General Gnutella / Gnutella Network Discussion (https://www.gnutellaforums.com/general-gnutella-gnutella-network-discussion/)
-   -   Question about sharing partial files (https://www.gnutellaforums.com/general-gnutella-gnutella-network-discussion/104647-question-about-sharing-partial-files.html)

fyrewal March 28th, 2023 10:09 AM

Question about sharing partial files
 
Hopefully someone can provide an answer to my question.

I wanted to know about SHA-1 hash values on the gnutella network, specifically with regard to partial file downloads. As I currently understand, if I have a partial download of a full file (let's call it file x), I can share that partial piece of file x on the network to other peers.

If file x has a unique SHA-1 hash value, and I have a portion of file x, (which itself would have a different SHA-1 hash value?), how does my computer broadcast to other peers that I have the SHA-1 value of file x, and not the SHA-1 value of the portion of file x? Is this even possible or am I just misinformed about how things work on the gnutella network?

Thanks

kermithermos May 29th, 2023 04:40 AM

There are several hashes:


1. The file hash, its the "id" of the file, its the sha1 what you get when you search files.

2. Tiger Tree Hash. For detecting errornous data and localize where in the file. The aim is to minimize the amout of data for retransmitting when a part of the file is damaged/wrong.


All times are GMT -7. The time now is 11:19 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 ©2011, Crawlability, Inc.

Copyright © 2020 Gnutella Forums.
All Rights Reserved.