summaryrefslogtreecommitdiff
path: root/node/Node.hpp
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2017-07-13 10:51:05 -0700
committerAdam Ierymenko <adam.ierymenko@gmail.com>2017-07-13 10:51:05 -0700
commit495c5ce81ddb245e21f21325927236d0f666f6cf (patch)
tree9314e377e7189cf8ccc52ed8b6ff5103a8a58f8f /node/Node.hpp
parentdab0fb9e05677bdc6294f196fcf8234892c582c1 (diff)
downloadinfinitytier-495c5ce81ddb245e21f21325927236d0f666f6cf.tar.gz
infinitytier-495c5ce81ddb245e21f21325927236d0f666f6cf.zip
Bunch of remote tracing work.
Diffstat (limited to 'node/Node.hpp')
-rw-r--r--node/Node.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/node/Node.hpp b/node/Node.hpp
index 57b99fe9..e60da1ad 100644
--- a/node/Node.hpp
+++ b/node/Node.hpp
@@ -257,6 +257,8 @@ public:
virtual void ncSendRevocation(const Address &destination,const Revocation &rev);
virtual void ncSendError(uint64_t nwid,uint64_t requestPacketId,const Address &destination,NetworkController::ErrorCode errorCode);
+ inline const Address &remoteTraceTarget() const { return _remoteTraceTarget; }
+
private:
RuntimeEnvironment _RR;
RuntimeEnvironment *RR;
@@ -278,6 +280,7 @@ private:
Mutex _backgroundTasksLock;
+ Address _remoteTraceTarget;
uint64_t _now;
uint64_t _lastPingCheck;
uint64_t _lastHousekeepingRun;