Diff: [root] @ baa426ee333 | faq | css

Update chunk size

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

diff --git a/hellnet/tech/recursive-filelinks b/hellnet/tech/recursive-filelinks
index 0d07768..2b6bd3f 100644
-- a/hellnet/tech/recursive-filelinks
++ b/hellnet/tech/recursive-filelinks
@@ -2,6 +2,6 @@ h1. Extent-based filelinks

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 kbytes

\ No newline at end of file
fn1. Currently 256 kbytes
\ No newline at end of file

By Voker57 on 2009-05-31 21:22:24 +0400 Powered by bitcheese wiki engine