forked from I2P_Developers/i2p.i2p
I2CP: Set LS2 unpublished bit, show in debug output
This commit is contained in:
@ -128,6 +128,8 @@ class RequestLeaseSetMessageHandler extends HandlerImpl {
|
||||
session.destroySession();
|
||||
return;
|
||||
}
|
||||
if (Boolean.parseBoolean(session.getOptions().getProperty("i2cp.dontPublishLeaseSet")))
|
||||
((LeaseSet2)leaseSet).setUnpublished();
|
||||
} else {
|
||||
leaseSet = new LeaseSet();
|
||||
}
|
||||
|
@ -53,6 +53,8 @@ class RequestVariableLeaseSetMessageHandler extends RequestLeaseSetMessageHandle
|
||||
session.destroySession();
|
||||
return;
|
||||
}
|
||||
if (Boolean.parseBoolean(session.getOptions().getProperty("i2cp.dontPublishLeaseSet")))
|
||||
((LeaseSet2)leaseSet).setUnpublished();
|
||||
} else {
|
||||
leaseSet = new LeaseSet();
|
||||
}
|
||||
|
@ -298,6 +298,7 @@ public class EncryptedLeaseSet extends LeaseSet2 {
|
||||
buf.append("\n\tTransient Expires: ").append(new java.util.Date(_transientExpires));
|
||||
buf.append("\n\tOffline Signature: ").append(_offlineSignature);
|
||||
}
|
||||
buf.append("\n\tUnpublished? ").append(isUnpublished());
|
||||
buf.append("\n\tSignature: ").append(_signature);
|
||||
buf.append("\n\tPublished: ").append(new java.util.Date(_published));
|
||||
buf.append("\n\tExpires: ").append(new java.util.Date(_expires));
|
||||
|
@ -540,6 +540,7 @@ public class LeaseSet2 extends LeaseSet {
|
||||
buf.append("\n\t\t[").append(key).append("] = [").append(val).append("]");
|
||||
}
|
||||
}
|
||||
buf.append("\n\tUnpublished? ").append(isUnpublished());
|
||||
buf.append("\n\tSignature: ").append(_signature);
|
||||
buf.append("\n\tPublished: ").append(new java.util.Date(_published));
|
||||
buf.append("\n\tExpires: ").append(new java.util.Date(_expires));
|
||||
|
@ -171,6 +171,7 @@ public class MetaLeaseSet extends LeaseSet2 {
|
||||
buf.append("\n\t\t[").append(key).append("] = [").append(val).append("]");
|
||||
}
|
||||
}
|
||||
buf.append("\n\tUnpublished? ").append(isUnpublished());
|
||||
buf.append("\n\tSignature: ").append(_signature);
|
||||
buf.append("\n\tPublished: ").append(new java.util.Date(_published));
|
||||
buf.append("\n\tExpires: ").append(new java.util.Date(_expires));
|
||||
|
13
history.txt
13
history.txt
@ -1,3 +1,16 @@
|
||||
2019-01-13 zzz
|
||||
* I2CP: Set LS2 unpublished bit, show in debug output
|
||||
|
||||
2019-01-12 zzz
|
||||
* NetDB: Use isSlow() in floodfill criteria
|
||||
* SSU: More consolidation of clock().now() calls
|
||||
|
||||
2019-01-10 zzz
|
||||
* I2CP:
|
||||
- Router-side handling of meta LS2
|
||||
- Remove client-side-only options from those sent to router
|
||||
- Router-side stub for encrypted LS2
|
||||
|
||||
2019-01-09 zzz
|
||||
* Console: Fix broken image link on /configui
|
||||
* I2CP: Stub out client-side creation of meta and enc. LS2
|
||||
|
@ -18,7 +18,7 @@ public class RouterVersion {
|
||||
/** deprecated */
|
||||
public final static String ID = "Monotone";
|
||||
public final static String VERSION = CoreVersion.VERSION;
|
||||
public final static long BUILD = 15;
|
||||
public final static long BUILD = 16;
|
||||
|
||||
/** for example "-test" */
|
||||
public final static String EXTRA = "-rc";
|
||||
|
Reference in New Issue
Block a user