The keys and the references (which are actually the most important part, we can loose the data, but we don't want a node to be dead be stupid just because it was down for 2 minutes) need to be stored somewhere. Sure, you could try to put them in a file each named tXXXXX.inf or something, but serializing is just easier.
On Fri, 14 Apr 2000, kimbly at shell.cybercom.net wrote: > wrt the discussion over the serialization format.... > > I would suggest that the serialization format is not as important > as the ability to recover the list of keys and files from scratch; > without the serialized file at all. > > For example, in my datastore I have several files with names like > t8721594, but there is no simple way to determine the key that > names this file. If there were, then it wouldn't really be that > important if the serialization format changed -- all I would > lose is knowledge of the queue order, source nodes, etc. But > none of that is essential as far as I know. > > Am I overlooking something? > > Kimberley > > _______________________________________________ > Freenet-dev mailing list > Freenet-dev at lists.sourceforge.net > http://lists.sourceforge.net/mailman/listinfo/freenet-dev -- Oskar Sandberg md98-osa at nada.kth.se #!/bin/perl -sp0777i<X+d*lMLa^*lN%0]dsXx++lMlN/dsM0<j]dsj $/=unpack('H*',$_);$_=`echo 16dio\U$k"SK$/SM$n\EsN0p[lN*1 lK[d2%Sa2/d0$^Ixp"|dc`;s/\W//g;$_=pack('H*',/((..)*)$/) _______________________________________________ Freenet-dev mailing list Freenet-dev at lists.sourceforge.net http://lists.sourceforge.net/mailman/listinfo/freenet-dev
