|
|
|
@ -1067,7 +1067,6 @@ void CConnman::ThreadSocketHandler()
@@ -1067,7 +1067,6 @@ void CConnman::ThreadSocketHandler()
|
|
|
|
|
pnode->CloseSocketDisconnect(); |
|
|
|
|
|
|
|
|
|
// hold in disconnected pool until all refs are released
|
|
|
|
|
if (pnode->fNetworkNode || pnode->fInbound) |
|
|
|
|
pnode->Release(); |
|
|
|
|
vNodesDisconnected.push_back(pnode); |
|
|
|
|
} |
|
|
|
@ -1808,7 +1807,6 @@ bool CConnman::OpenNetworkConnection(const CAddress& addrConnect, bool fCountFai
@@ -1808,7 +1807,6 @@ bool CConnman::OpenNetworkConnection(const CAddress& addrConnect, bool fCountFai
|
|
|
|
|
return false; |
|
|
|
|
if (grantOutbound) |
|
|
|
|
grantOutbound->MoveTo(pnode->grantOutbound); |
|
|
|
|
pnode->fNetworkNode = true; |
|
|
|
|
if (fOneShot) |
|
|
|
|
pnode->fOneShot = true; |
|
|
|
|
if (fFeeler) |
|
|
|
@ -2531,7 +2529,6 @@ CNode::CNode(NodeId idIn, ServiceFlags nLocalServicesIn, int nMyStartingHeightIn
@@ -2531,7 +2529,6 @@ CNode::CNode(NodeId idIn, ServiceFlags nLocalServicesIn, int nMyStartingHeightIn
|
|
|
|
|
fOneShot = false; |
|
|
|
|
fClient = false; // set by version message
|
|
|
|
|
fFeeler = false; |
|
|
|
|
fNetworkNode = false; |
|
|
|
|
fSuccessfullyConnected = false; |
|
|
|
|
fDisconnect = false; |
|
|
|
|
nRefCount = 0; |
|
|
|
|