On Monday 19 November 2001 15:06, you wrote:

> > On Mon, 19 Nov 2001, Oskar Sandberg wrote:
> > On Mon, Nov 19, 2001 at 06:56:41PM +0100, Are wrote:
> > > The node should also autosave its refs every hour (including CP) or so
> > > and read this file on startup.
> >
> > Of course it does.
>
> Does not!  :)
> The node saves its refs, but CP values are reset when the node restarts.
> The solution to this is to not restart your node.
>
> Thelema

CP and related state is stored in the NodeTuple records used by the 
TreeRoutingTable, not in NodeReferences.  Maybe it should be moved into
NodeReference?  

Then it would be easy to persist,  I think.  I haven't looked at the code, 
but I assume that the node just writes out the NodeRefs as FieldSets.

--gj


-- 
Freesites
(0.3) freenet:MSK at SSK@enI8YFo3gj8UVh-Au0HpKMftf6QQAgE/homepage//
(0.4) freenet:SSK at npfV5XQijFkF6sXZvuO0o~kG4wEPAgM/homepage//

_______________________________________________
Devl mailing list
Devl at freenetproject.org
http://lists.freenetproject.org/mailman/listinfo/devl

Reply via email to