Merge branch 'i2p.i2p.2.4.0-move-receivedby-logic-to-dbe' into 'master'

Router: move getReceivedBy and getReceivedAsPublished into DatabaseEntry

Closes #430

See merge request i2p-hackers/i2p.i2p!132
This commit is contained in:
idk
2023-10-30 00:24:23 +00:00
4 changed files with 25 additions and 28 deletions
@@ -86,19 +86,6 @@ public class RouterInfo extends DatabaseEntry {
public static final String PROP_CAPABILITIES = "caps";
public static final char CAPABILITY_HIDDEN = 'H';
private static final int MAX_ADDRESSES = 16;
/**
* Hash of the client receiving the routerinfo, or null if it was sent directly.
*/
private Hash _receivedBy;
public Hash getReceivedBy() {
return _receivedBy;
}
public void setReceivedBy(Hash _receivedBy) {
this._receivedBy = _receivedBy;
}
/** Public string of chars which serve as bandwidth capacity markers
* NOTE: individual chars defined in Router.java