On Tue, Jan 14, 2003 at 11:44:52AM -0500, Gianni Johansson wrote: > I want to make the following changes to the SplitFile metadata spec: > > 0) Optional CHK checksum of the entire file. > SplitFile.CheckSum=CHK at blahblah blah Why not per segment? > > 1) Specification of cipher used for all block CHKs > SplitFile.BlockCipher=TwoFish Hmmm. > > 2) Explicit requirement that block CHKs contain data only. > i.e. so if you know the cipher and you know the block size and you > have the data, you should be able to reinsert the block without any further > information. Given that the file is a FEC splitfile, cool. > > 3) Explicit requirement that trailing blocks are zero padded to the block > size. Why? The node pads data anyway, so why can't the last block be short? > > 4) Explicit segmentation in the SplitFile metadata. > The FEC encoding stuff already "segments" large files. FEC encoding is only > done over the data in each segment. I want to make this explicit in the > SplitFile metadata. i.e. > > SplitFile.Segments=3 > SplitFile.1.BlockCount=10 > SplitFile.1.CheckBlockCount=5 > SplitFile.1.Block.1=CHK... > ^--- segment number. > .... > SplitFile.2.BlockCount=10 > .... > etc. Cool. > > What do people think? > > -- gj >
-- Matthew Toseland toad at amphibian.dyndns.org/amphibian at users.sourceforge.net Freenet/Coldstore open source hacker. Contracted full time by Freenet Project Inc. http://freenetproject.org/ ICTHUS. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: <https://emu.freenetproject.org/pipermail/devl/attachments/20030114/0ca6c68e/attachment.pgp>
