Update of /cvsroot/freenet/freenet/src/freenet/node/states/FCP In directory sc8-pr-cvs1:/tmp/cvs-serv30192/src/freenet/node/states/FCP
Modified Files: NewClientGet.java Log Message: 6349: Major debugging on NGRouting recent changes. Add diagnostic startedRequestHTL, use it to make the maintenance requests use typical HTLs and therefore not introduce bias. Transients should not accept requests; include a flag that they are transient in their references, and don't put transients into the routing table. Reinstate probabilistic referencing in NGRouting - under strict conditions (40 working non-backed off nodes out of 50). New param: minRTNodesPRef. Move shouldReference to RT. Accept out of band references if less than 40 out of 50 nodes in RT and not backed off. Add NGRT.countUnbackedOffNodes() Fix pessimistic estimators initializing pDNF to min pDNF rather than max pDNF if no key to start from. Increase estimators Version to 3 to avoid pollution by estimators intted to 0.0 pDNF because of that bug. Initialize pSearchFailed pessimistically to 1.0. Logging. Index: NewClientGet.java =================================================================== RCS file: /cvsroot/freenet/freenet/src/freenet/node/states/FCP/NewClientGet.java,v retrieving revision 1.13 retrieving revision 1.14 diff -u -w -r1.13 -r1.14 --- NewClientGet.java 21 Nov 2003 21:12:44 -0000 1.13 +++ NewClientGet.java 22 Nov 2003 17:56:01 -0000 1.14 @@ -52,6 +52,9 @@ Key k = ckey.getKey(); if (k == null) throw new KeyException("got null Key"); Node.recentKeys.add(k); + Core.diagnostics.occurrenceContinuous("startedRequestHTL", + cgmo.getHTL()); + if(k.log2size() > Node.maxLog2DataSize) { sendMessage(new URIError(id, "Key too big")); return null; _______________________________________________ cvs mailing list [EMAIL PROTECTED] http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/cvs