mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Send cluster reports
This commit is contained in:
@@ -70,6 +70,10 @@ public:
|
||||
{
|
||||
return mHelloed && !mDetaching;
|
||||
}
|
||||
bool isInCluster () const
|
||||
{
|
||||
return mCluster;
|
||||
}
|
||||
bool isInbound () const
|
||||
{
|
||||
return mInbound;
|
||||
@@ -1425,6 +1429,7 @@ void PeerImp::recvCluster (protocol::TMCluster& packet)
|
||||
applyLoadCharge(LT_UnwantedData);
|
||||
return;
|
||||
}
|
||||
|
||||
for (int i = 0; i < packet.clusternodes().size(); ++i)
|
||||
{
|
||||
protocol::TMClusterNode const& node = packet.clusternodes(i);
|
||||
|
||||
Reference in New Issue
Block a user