I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit 4aa1bba5 authored by zzz's avatar zzz
Browse files

* NetDB:

   - We don't verify RI stores any more, so save RI-last-published time when we store it.
parent 9d3925eb
No related branches found
No related tags found
No related merge requests found
...@@ -66,9 +66,11 @@ class FloodfillStoreJob extends StoreJob { ...@@ -66,9 +66,11 @@ class FloodfillStoreJob extends StoreJob {
// it finds something stamped with that time or newer. // it finds something stamped with that time or newer.
DatabaseEntry data = _state.getData(); DatabaseEntry data = _state.getData();
boolean isRouterInfo = data.getType() == DatabaseEntry.KEY_TYPE_ROUTERINFO; boolean isRouterInfo = data.getType() == DatabaseEntry.KEY_TYPE_ROUTERINFO;
// default false // default false since 0.9.7.1
if (isRouterInfo && !getContext().getBooleanProperty(PROP_RI_VERIFY)) if (isRouterInfo && !getContext().getBooleanProperty(PROP_RI_VERIFY)) {
_facade.routerInfoPublishSuccessful();
return; return;
}
long published = data.getDate(); long published = data.getDate();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment