forked from I2P_Developers/i2p.i2p
disable NTCP2 code
This commit is contained in:
@@ -222,7 +222,8 @@ public class NTCPTransport extends TransportImpl {
|
|||||||
_nearCapacityCostBid = new SharedBid(105);
|
_nearCapacityCostBid = new SharedBid(105);
|
||||||
_transientFail = new SharedBid(TransportBid.TRANSIENT_FAIL);
|
_transientFail = new SharedBid(TransportBid.TRANSIENT_FAIL);
|
||||||
|
|
||||||
_enableNTCP2 = ctx.getProperty(PROP_NTCP2_ENABLE, DEFAULT_NTCP2_ENABLE);
|
//_enableNTCP2 = ctx.getProperty(PROP_NTCP2_ENABLE, DEFAULT_NTCP2_ENABLE);
|
||||||
|
_enableNTCP2 = false;
|
||||||
if (_enableNTCP2) {
|
if (_enableNTCP2) {
|
||||||
boolean shouldSave = false;
|
boolean shouldSave = false;
|
||||||
byte[] priv = null;
|
byte[] priv = null;
|
||||||
|
Reference in New Issue
Block a user