net: make CNode's id private

This commit is contained in:
Cory Fields
2017-04-11 12:11:27 -04:00
parent 9ff0a51164
commit 0f3471f3ad
2 changed files with 2 additions and 2 deletions

View File

@@ -611,7 +611,6 @@ public:
CCriticalSection cs_filter;
CBloomFilter* pfilter;
std::atomic<int> nRefCount;
const NodeId id;
const uint64_t nKeyedNetGroup;
std::atomic_bool fPauseRecv;
@@ -682,6 +681,7 @@ public:
private:
CNode(const CNode&);
void operator=(const CNode&);
const NodeId id;
const uint64_t nLocalHostNonce;