Here's a possible way to make "Depth" useful: have the originator of
a Request set it to a small random value (say 1-10).  On each forward
hop of the request, Depth is incremented as HopsToLive is decremented--
but unlike HopsToLive, it is not further incremented on subsequent message
forwards in response to RequestFailed's, so it really does represent the
current distance from origin of the request (+ the random starting
value).  Replies, then, can use it to set HopsToLive to an efficient value
(and replies themselves will not have a Depth).  Will this work the way I
think it does, or am I missing something?

--
Lee Daniel Crocker <lee at piclab.com> <http://www.piclab.com/lcrocker.html>
"All inventions or works of authorship original to me, herein and past,
are placed irrevocably in the public domain, and may be used or modified
for any purpose, without permission, attribution, or notification."--LDC


_______________________________________________
Freenet-dev mailing list
Freenet-dev at lists.sourceforge.net
http://lists.sourceforge.net/mailman/listinfo/freenet-dev

Reply via email to