Dash Core Source Documentation (0.16.0.1)
Find detailed information regarding the Dash Core source code.
masternode-utils.cpp
Go to the documentation of this file.
19 return (t1.first != t2.first) ? (t1.first < t2.first) : (t1.second->collateralOutpoint < t2.second->collateralOutpoint);
30 // Don't disconnect masternode connections when we have less then the desired amount of outbound nodes
33 if (!pnode->fInbound && !pnode->fFeeler && !pnode->m_manual_connection && !pnode->fMasternode && !pnode->fMasternodeProbe) {
62 LogPrintf("Closing Masternode connection: peer=%d, addr=%s\n", pnode->GetId(), pnode->addr.ToString());
bool operator()(const std::pair< arith_uint256, const CDeterministicMNCPtr &> &t1, const std::pair< arith_uint256, const CDeterministicMNCPtr &> &t2) const
Definition: masternode-utils.cpp:16
std::string ToString(bool fUseGetnameinfo=true) const
Definition: netaddress.cpp:581
static void DoMaintenance(CConnman &connman)
Definition: masternode-utils.cpp:70
bool IsMasternodeQuorumNode(const CNode *pnode)
Definition: net.cpp:3372
bool GetMixingMasternodesInfo(std::vector< CDeterministicMNCPtr > &vecDmnsRet) const
Definition: privatesend-client.cpp:346
static void ProcessMasternodeConnections(CConnman &connman)
Definition: masternode-utils.cpp:23
Definition: masternode-utils.cpp:14