Changeset 11174 for dotorg/trunk/html/beps
- Timestamp:
- 08/28/09 11:31:00 (7 months ago)
- Files:
-
- 1 modified
-
dotorg/trunk/html/beps/bep_0030.html (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
dotorg/trunk/html/beps/bep_0030.html
r11171 r11174 39 39 <tr class="field"><th class="field-name">Title:</th><td class="field-body">Merkle hash torrent extension</td> 40 40 </tr> 41 <tr class="field"><th class="field-name">Version:</th><td class="field-body">1117 0</td>42 </tr> 43 <tr class="field"><th class="field-name">Last-Modified:</th><td class="field-body"><a class="reference" href="http://bittorrent.org/trac/browser/dotorg/trunk/html/beps/bep_0030.rst">2009-08-2 6 17:22:08 -0700 (Wed, 26Aug 2009)</a></td>41 <tr class="field"><th class="field-name">Version:</th><td class="field-body">11173</td> 42 </tr> 43 <tr class="field"><th class="field-name">Last-Modified:</th><td class="field-body"><a class="reference" href="http://bittorrent.org/trac/browser/dotorg/trunk/html/beps/bep_0030.rst">2009-08-28 11:30:47 -0700 (Fri, 28 Aug 2009)</a></td> 44 44 </tr> 45 45 <tr class="field"><th class="field-name">Author:</th><td class="field-body">Arno Bakker <arno at cs.vu.nl></td> … … 100 100 sense that clients supporting the Simple Merkle Hash extension can still be 101 101 made to process regular torrent files easily.</p> 102 <p>>From the content we construct a shash tree as follows. Given a piece size,102 <p>>From the content we construct a hash tree as follows. Given a piece size, 103 103 we calculate the hashes of all the pieces in the set of content files. Next, 104 104 we create a binary tree of sufficient height. Sufficient height means that the … … 166 166 a <tt class="docutils literal"><span class="pre">Tr_hashpiece</span></tt> message name in the <tt class="docutils literal"><span class="pre">m</span></tt> field of the Extension 167 167 protocol's handshake message. Such a client must not send <tt class="docutils literal"><span class="pre">piece</span></tt> messages 168 but must use Extension protocol messages with type {tt Tr_hashpiece}to send168 but must use Extension protocol messages with type <tt class="docutils literal"><span class="pre">Tr_hashpiece</span></tt> to send 169 169 pieces.</p> 170 170 <p>A <tt class="docutils literal"><span class="pre">Tr_hashpiece</span></tt> message consists of an index, begin, hashlist and piece.