forked from I2P_Developers/i2p.i2p
NetDB: Fix reseeding when clock is skewed
reported, fixed, and tested by zlatinb
This commit is contained in:
@ -1,3 +1,7 @@
|
|||||||
|
2022-09-06 zzz
|
||||||
|
* NetDB: Fix reseeding when clock is skewed
|
||||||
|
* SSU2: Don't publish or connect if our MTU becomes too small
|
||||||
|
|
||||||
2022-09-04 zzz
|
2022-09-04 zzz
|
||||||
* SusiDNS: Fix adding to empty address book
|
* SusiDNS: Fix adding to empty address book
|
||||||
|
|
||||||
|
@ -18,7 +18,7 @@ public class RouterVersion {
|
|||||||
/** deprecated */
|
/** deprecated */
|
||||||
public final static String ID = "Git";
|
public final static String ID = "Git";
|
||||||
public final static String VERSION = CoreVersion.VERSION;
|
public final static String VERSION = CoreVersion.VERSION;
|
||||||
public final static long BUILD = 6;
|
public final static long BUILD = 7;
|
||||||
|
|
||||||
/** for example "-test" */
|
/** for example "-test" */
|
||||||
public final static String EXTRA = "";
|
public final static String EXTRA = "";
|
||||||
|
@ -366,7 +366,7 @@ public class PersistentDataStore extends TransientDataStore {
|
|||||||
requeue(READ_DELAY);
|
requeue(READ_DELAY);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
long now = getContext().clock().now();
|
long now = System.currentTimeMillis();
|
||||||
// check directory mod time to save a lot of object churn in scanning all the file names
|
// check directory mod time to save a lot of object churn in scanning all the file names
|
||||||
long lastMod = _dbDir.lastModified();
|
long lastMod = _dbDir.lastModified();
|
||||||
// if size() (= RI + LS) is too low, call anyway to check for reseed
|
// if size() (= RI + LS) is too low, call anyway to check for reseed
|
||||||
|
Reference in New Issue
Block a user