summaryrefslogtreecommitdiff
path: root/node/Peer.cpp
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2016-08-08 17:33:26 -0700
committerAdam Ierymenko <adam.ierymenko@gmail.com>2016-08-08 17:33:26 -0700
commit00fd9c3a15f9ac0981cf79c98515df888b3bd109 (patch)
treebe2aeb7bbeb87b09cc43f4120c5fe39c0e467a06 /node/Peer.cpp
parent8007ca56aaa2781e068ce9e3849a64b1e7bf7b8f (diff)
downloadinfinitytier-00fd9c3a15f9ac0981cf79c98515df888b3bd109.tar.gz
infinitytier-00fd9c3a15f9ac0981cf79c98515df888b3bd109.zip
It builds... almost ready to test some rules engine stuff.
Diffstat (limited to 'node/Peer.cpp')
-rw-r--r--node/Peer.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/node/Peer.cpp b/node/Peer.cpp
index ba47a0be..89dce570 100644
--- a/node/Peer.cpp
+++ b/node/Peer.cpp
@@ -53,9 +53,7 @@ Peer::Peer(const RuntimeEnvironment *renv,const Identity &myIdentity,const Ident
_id(peerIdentity),
_numPaths(0),
_latency(0),
- _directPathPushCutoffCount(0),
- _networkComs(4),
- _lastPushedComs(4)
+ _directPathPushCutoffCount(0)
{
if (!myIdentity.agree(peerIdentity,_key,ZT_PEER_SECRET_KEY_LENGTH))
throw std::runtime_error("new peer identity key agreement failed");