Diff: [root] @ baa426ee333 | faq | css

Update chunk size

File: hellnet/tech/recursive-filelinks [Diff]

-- a/hellnet/tech/recursive-filelinks++ b/hellnet/tech/recursive-filelinks
@@ -2,7 +2,7 @@

Filelink is a list of hashes of chunks of file. As Hellnet has limited chunk size[1] and filelinks have to be files too, and we can't use filelinks on filelinks, Hellnet has extent-based filelinks.

If chunk size is 64, 256, we can fit 1024 4096 hashes in it. That's 1.07 Gb of data. If file needs more than 1023 4095 hashes to describe it, we make another filelink chunk, fill it with the rest and append hash of that chunk to first one. Can be recursively repeated.

fn1. Currently 64 256 kbytes

By Voker57 on 2009-05-31 17:22:24 +0000