On Mon, Nov 19, 2001 at 03:46:59PM -0500, Gianni Johansson wrote:
> On Monday 19 November 2001 15:06, you wrote:
< >
> > 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?  

>From what I can see, thelema was right, and they were not being saved at
all. If they were being saved somewhere, then I just duplicated that
somehow, which seems weird.

> 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.

It clearly is a property of the NodeTuple, not the RefTuple. I added a
contactProbability field to that FieldSet.


-- 

Oskar Sandberg
oskar at freenetproject.org

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

Reply via email to