forked from I2P_Developers/i2p.i2p
Compare commits
3 Commits
i2p-2.3.0
...
i2p.i2p.2.
Author | SHA1 | Date | |
---|---|---|---|
118b90315b | |||
206cc00387 | |||
0d359bbc1b |
@ -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;
|
||||
}
|
||||
}
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
6
debian/changelog
vendored
@ -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
|
||||
|
@ -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;
|
||||
|
Reference in New Issue
Block a user