forked from I2P_Developers/i2p.i2p
RouterInfo: Optimize writing to avoid extra copy;
eliminate caching previously enabled for routers with high memory limits Log tweak on sig verify fail DataHelper.writeLong() to write(byte) conversion DatabaseEntry: Remove deprecated, unused setRoutingKey()
This commit is contained in:
@ -98,6 +98,9 @@ public abstract class DatabaseEntry extends DataStructureImpl {
|
||||
|
||||
/**
|
||||
* Returns the raw payload data, excluding the signature, to be signed by sign().
|
||||
*
|
||||
* Most callers should use writeBytes() or toByteArray() instead.
|
||||
*
|
||||
* FIXME RouterInfo throws DFE and LeaseSet returns null
|
||||
* @return null on error ???????????????????????
|
||||
*/
|
||||
@ -122,13 +125,6 @@ public abstract class DatabaseEntry extends DataStructureImpl {
|
||||
return _currentRoutingKey;
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated unused
|
||||
*/
|
||||
public void setRoutingKey(Hash key) {
|
||||
_currentRoutingKey = key;
|
||||
}
|
||||
|
||||
/**
|
||||
* @throws IllegalStateException if not in RouterContext
|
||||
*/
|
||||
|
Reference in New Issue
Block a user