Matthew Toseland <toad at amphibian.dyndns.org> writes:

> > It may be possible, but it's quite undesirable to parse the CHK to
> > find the size.  It's not sufficient that all chunks but the last be
> > full, because they could be different power-of-2 sizes.  
> Huh? CHKs are power of two sizes. You can take the CHK URI and without
> fetching anything find out which power of two it is. And if all but the
> last CHK are required to be full and sans metadata, you know how big
> everything is and can reconstruct in situ. OTOH, it's pointless to
> reconstruct in situ because everyone should be using redundant splitfiles,
> which are more complex. If we are using rsplits, all the chunks will
> probably be the same size.

okay, how do you get the size out of the URI?

Thelema
-- 
E-mail: thelema314 at bigfoot.com                        Raabu and Piisu
GPG 1024D/36352AAB fpr:756D F615 B4F3 BFFC 02C7  84B7 D8D7 6ECE 3635 2AAB

_______________________________________________
devl mailing list
devl at freenetproject.org
http://hawk.freenetproject.org/cgi-bin/mailman/listinfo/devl

Reply via email to