Diff: [root] @ 3802d550ba5 | faq | css

+ filelinks

File created: 33188 hellnet/tech/extent-based-filelinks [Diff]

diff --git a/hellnet/tech/extent-based-filelinks b/hellnet/tech/extent-based-filelinks
new file mode 100644
index 0000000..1d2eae0
-- /dev/null
++ b/hellnet/tech/extent-based-filelinks
@@ -0,0 +1,5 @@
h1. Extent-based filelinks

Filelink is a list of hashes of chunks of file. As Hellnet has limited chunk size 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, we can fit 1024 hashes in it. If file needs more than 1023 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.

By Voker57 on 2009-04-25 19:41:12 +0400 Powered by bitcheese wiki engine