[freenet-dev] [freenet-cvs] r16833 - trunk/freenet/src/freenet/node
Matthew Toseland
toad at amphibian.dyndns.org
Fri Jan 4 00:01:08 UTC 2008
On Thursday 03 January 2008 19:03, David Sowder wrote:
> I'd have to extensively review the current PeerNode code to make sure my
> understanding isn't outdated, but I prefer the current variable names
> which contain the idea of their value being verified and aren't mixed up
> directly with the idea of routability. OTOH, I'm probably a little
> biased, they being originally my variable names IIRC.
The way they are being used now, verified doesn't make any sense.
>
> Robert Hailey wrote:
> >
> > On Jan 3, 2008, at 11:53 AM, Matthew Toseland wrote:
> >> On Thursday 03 January 2008 16:29, Robert Hailey wrote:
> >>> On Jan 3, 2008, at 9:19 AM, Matthew Toseland wrote:
> >>>> Please restore the original version. It looks like it was correct
> >>>> after all,
> >>>> and the problem is not fetching ARKs when verified*=true.
> >>>
> >>> If you really want me to, I certainly will, but... if you and nextgens
> >>> agree that it is benign to active connections, and in my reasoning
> >>> prevents a deadlock for long disconnections... why? I think that it
> >>> would be more useful to simply rename the identifiers to be more
> >>> intuitive until the ark problem is solved to your satisfaction (e.g.
> >>> as David said he may).
> >>
> >> No, IMHO we should unconditionally recompute verified*, as we did until
> >> recently. And not fetching ARKs if it's out of date is insane, which
> >> I've
> >> fixed in r16861. Please make it unconditionally recompute, and
> >> re-test to see
> >> if there is still a problem.
> >
> > Restored in r16862, any objection to new function/variable names to
> > suite the newer purpose?
> >
> > updateShouldDisconnectNow -> updateVersionRoutablity
> > verifiedIncompatibleOlderVersion -> unroutableOlderVersion
> > verifiedIncompatibleNewerVersion -> unroutableNewerVersion
> > isVerifiedIncompatibleOlderVersion -> isUnroutableOlderVersion
> > isVerifiedIncompatibleNewerVersion -> isUnroutableNewerVersion
> >
> > And remove/change old comments: e.g. "on a relevant incoming
> > handshake" (ln#85), "breaking the meaning of
> > verifiedIncompable[Older|Newer]Version" (ln#2794)?
> _______________________________________________
> Devl mailing list
> Devl at freenetproject.org
> http://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://emu.freenetproject.org/pipermail/devl/attachments/20080104/54985136/attachment.pgp
More information about the Devl
mailing list