summaryrefslogtreecommitdiff
path: root/node/Node.cpp
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2015-04-02 17:54:56 -0700
committerAdam Ierymenko <adam.ierymenko@gmail.com>2015-04-02 17:54:56 -0700
commita69e1876f10266e5578be0a469ae7498f705fe96 (patch)
tree0a1e7e3a0b88ce21ca12ea2f0ccd1ebbfacdab51 /node/Node.cpp
parent5f51653f9c1f0de3091cb2df0ed25fc28e865aa4 (diff)
downloadinfinitytier-a69e1876f10266e5578be0a469ae7498f705fe96.tar.gz
infinitytier-a69e1876f10266e5578be0a469ae7498f705fe96.zip
The concept of link desperation (escalating to less desirable transports) simplifies a ton of stuff. Loads of spaghetti logic can die since we no longer have to make these decisions down in the core.
Diffstat (limited to 'node/Node.cpp')
-rw-r--r--node/Node.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/node/Node.cpp b/node/Node.cpp
index c36b82d9..936a5b60 100644
--- a/node/Node.cpp
+++ b/node/Node.cpp
@@ -61,10 +61,7 @@ Node::Node(
_statusCallback(statusCallback),
_networks(),
_networks_m(),
- _now(now),
- _timeOfLastPacketReceived(0),
- _timeOfLastPrivilegedPacket(0),
- _spamCounter(0)
+ _now(now)
{
try {
RR->prng = new CMWC4096();