diff options
| author | Cory Fields <[email protected]> | 2017-04-11 12:11:27 -0400 |
|---|---|---|
| committer | Cory Fields <[email protected]> | 2017-05-04 01:04:47 -0400 |
| commit | 0f3471f3ad349374556e671f27de0824dbe57dd6 (patch) | |
| tree | 8c11368c0799e9abe0b6f064b2fd10b9308c4a8c /src/net.cpp | |
| parent | scripted-diff: net: Use accessor rather than node's id directly (diff) | |
| download | discoin-0f3471f3ad349374556e671f27de0824dbe57dd6.tar.xz discoin-0f3471f3ad349374556e671f27de0824dbe57dd6.zip | |
net: make CNode's id private
Diffstat (limited to 'src/net.cpp')
| -rw-r--r-- | src/net.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net.cpp b/src/net.cpp index 380b181ae..c7b1a1e10 100644 --- a/src/net.cpp +++ b/src/net.cpp @@ -2623,10 +2623,10 @@ CNode::CNode(NodeId idIn, ServiceFlags nLocalServicesIn, int nMyStartingHeightIn nTimeConnected(GetSystemTimeInSeconds()), addr(addrIn), fInbound(fInboundIn), - id(idIn), nKeyedNetGroup(nKeyedNetGroupIn), addrKnown(5000, 0.001), filterInventoryKnown(50000, 0.000001), + id(idIn), nLocalHostNonce(nLocalHostNonceIn), nLocalServices(nLocalServicesIn), nMyStartingHeight(nMyStartingHeightIn), |