forked from I2P_Developers/i2p.i2p
Enable tunnel testing when in hidden mode (ticket #1192)
Enable tunnel testing when without addresses (ticket #1835) Use fast peers for inbound tunnels when without addresses (ticket #1835)
This commit is contained in:
@@ -180,6 +180,16 @@ public class RouterInfo extends DatabaseEntry {
|
||||
_published = published;
|
||||
}
|
||||
|
||||
/**
|
||||
* Return the number of router addresses.
|
||||
* More efficient than getAddresses().size()
|
||||
*
|
||||
* @since 0.9.27
|
||||
*/
|
||||
public int getAddressCount() {
|
||||
return _addresses.size();
|
||||
}
|
||||
|
||||
/**
|
||||
* Retrieve the set of RouterAddress structures at which this
|
||||
* router can be contacted.
|
||||
|
||||
Reference in New Issue
Block a user