Author: toad
Date: 2007-06-26 14:33:40 +0000 (Tue, 26 Jun 2007)
New Revision: 13763
Modified:
trunk/freenet/src/freenet/node/Version.java
Log:
1040:
- More work on probe requests
-- Fixes for various issues that were causing excessive backtracking and
requests to continue forever.
-- Various improvements to probe trace data (incompatible).
- Back-door coalescing: When a key is written to the datastore, notify all
clients who have registered an interest in that key. Thus two requests which
share the same keys should complete simultaneously.
- Beginnings of support for failure table / Ultra-Lightweight Persistent
Requests: new failure message FNPRecentlyFailed, indicates that the key was
found in a failure table and therefore the request was killed, and how long the
block will last. Propagated back like a DNF, behaves mostly like a DNF. (Note
that there are no actual failure tables yet as I haven't finished coding that
yet).
- Don't leak memory in probe request code when peers are removed (use
WeakReference's and WeakHashSet).
- Cosmetic fix to TimeFormat.
- Do occasionally blocking packet throttle time check on a separate thread, NOT
on USM.
- Verify SSKs when pulling them from the datastore
- Random number generation fixes:
-- Fix file descriptor leaks in Yarrow on error (would still have been cleaned
up by GC... eventually!)
-- Strengthen the padding RNG: grab 128 bits of entropy rather than 56 bits
from Yarrow on startup
-- Write seed only once per hour
-- Yarrow: Block on SecureRandom() on startup if /dev/urandom doesn't exist
i.e. use the JVM's random sources if we can't just read from urandom.
- some paranoia code in HexUtil
Related:
- sback: some work on unit tests
Modified: trunk/freenet/src/freenet/node/Version.java
===================================================================
--- trunk/freenet/src/freenet/node/Version.java 2007-06-26 14:10:56 UTC (rev
13762)
+++ trunk/freenet/src/freenet/node/Version.java 2007-06-26 14:33:40 UTC (rev
13763)
@@ -24,17 +24,17 @@
public static final String protocolVersion = "1.0";
/** The build number of the current revision */
- private static final int buildNumber = 1039;
+ private static final int buildNumber = 1040;
/** Oldest build of Fred we will talk to */
- private static final int oldLastGoodBuild = 1038;
- private static final int newLastGoodBuild = 1039;
+ private static final int oldLastGoodBuild = 1039;
+ private static final int newLastGoodBuild = 1040;
static final long transitionTime;
static {
final Calendar _cal =
Calendar.getInstance(TimeZone.getTimeZone("GMT"));
// year, month - 1 (or constant), day, hour, minute, second
- _cal.set( 2007, Calendar.JUNE, 25, 0, 0, 0 );
+ _cal.set( 2007, Calendar.JUNE, 28, 0, 0, 0 );
transitionTime = _cal.getTimeInMillis();
}