Compare commits

...

3 Commits

Author SHA1 Message Date
idk
118b90315b Add multihome flag 2023-07-03 14:22:00 -04:00
idk
206cc00387 fix lunar changelog 2023-07-01 16:01:20 -04:00
idk
0d359bbc1b update debian changelogs 2023-07-01 11:10:55 -04:00
6 changed files with 34 additions and 0 deletions

View File

@ -64,6 +64,7 @@ public abstract class DatabaseEntry extends DataStructureImpl {
private long _routingKeyGenMod;
protected boolean _receivedAsPublished;
protected boolean _receivedAsReply;
protected boolean _possibleMultihome;
/**
* A common interface to the timestamp of the two subclasses.
@ -296,4 +297,12 @@ public abstract class DatabaseEntry extends DataStructureImpl {
public void setReceivedAsReply() {
_receivedAsReply = true;
}
public void setMultihome() {
_possibleMultihome = true;
}
public boolean getMultihome() {
return _possibleMultihome;
}
}

View File

@ -1,3 +1,9 @@
i2p (2.3.0-1~bionic+1) bionic; urgency=medium
* New upstream version 2.3.0
-- idk <hankhill19580@gmail.com> Sat, 1 Jul 2023 10:45:12 +0000
i2p (2.2.1-1~bionic+1) bionic; urgency=medium
* New upstream version 2.2.1

View File

@ -1,3 +1,9 @@
i2p (2.3.0-1ubuntu1) focal; urgency=medium
* New upstream version 2.3.0
-- idk <hankhill19580@gmail.com> Sat, 1 Jul 2023 10:45:12 +0000
i2p (2.2.1-1ubuntu1) focal; urgency=medium
* New upstream version 2.2.1

View File

@ -1,3 +1,9 @@
i2p (2.3.0-1~lunar+1) lunar; urgency=medium
* New upstream version 2.3.0
-- idk <hankhill19580@gmail.com> Sat, 1 Jul 2023 10:45:12 +0000
i2p (2.2.1-1~lunar+1) lunar; urgency=medium
* New upstream version 2.2.1

6
debian/changelog vendored
View File

@ -1,3 +1,9 @@
i2p (2.3.0-1ubuntu1) focal; urgency=medium
* New upstream version 2.3.0
-- idk <hankhill19580@gmail.com> Sat, 1 Jul 2023 10:45:12 +0000
i2p (2.2.1-1ubuntu1) focal; urgency=medium
* New upstream version 2.2.1

View File

@ -103,6 +103,7 @@ class HandleFloodfillDatabaseStoreMessageJob extends JobImpl {
if (!ls.getReceivedAsReply())
ls.setReceivedAsPublished();
if (getContext().clientManager().isLocal(key)) {
ls.setMultihome();
getContext().statManager().addRateData("netDb.storeLocalLeaseSetAttempt", 1, 0);
// throw rather than return, so that we send the ack below (prevent easy attack)
dontBlamePeer = true;