Closed wjianwei126 closed 8 years ago
it seems the code in exchangemeta.js is not doing anything meaningful
for (var i = 0; i * METADATA_BLOCK_SIZE < size; i++) { if (metadataPieces[i]) continue wire.extended(channel, {msg_type: 0, piece: i}) }
could someone elaberate on whats going on here? thanks
My guess is that it's requesting missing metadata pieces: http://www.bittorrent.org/beps/bep_0009.html
ur right ~ I got it thanks
Should this issue be closed?
it seems the code in exchangemeta.js is not doing anything meaningful
for (var i = 0; i * METADATA_BLOCK_SIZE < size; i++) { if (metadataPieces[i]) continue wire.extended(channel, {msg_type: 0, piece: i}) }
could someone elaberate on whats going on here? thanks