532b9fa3db
ConnectNode is meant to be private and should not be leaked outside of CConnman. This leaking resulted in multiple problems with AddRef/Release behaviour. We use OpenNetworkConnectio/OpenMasternodeConnection from now on and use appropriate ForNode calls to access the CNode* instance. This commit also changes the behaviour for already connected nodes which are afterwards requested for a masternode connection. We don't set fMasternode=true anymore on such nodes, which means it won't be auto disconnected anymore from ProcessMasternodeConnections. |
||
---|---|---|
.. | ||
blockchain.cpp | ||
client.cpp | ||
client.h | ||
governance.cpp | ||
masternode.cpp | ||
mining.cpp | ||
misc.cpp | ||
net.cpp | ||
protocol.cpp | ||
protocol.h | ||
rawtransaction.cpp | ||
register.h | ||
server.cpp | ||
server.h |