mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Parsing the cluster status message, updates to tracking code
This commit is contained in:
@@ -1420,7 +1420,18 @@ void PeerImp::recvValidation (const boost::shared_ptr<protocol::TMValidation>& p
|
||||
|
||||
void PeerImp::recvCluster (protocol::TMCluster& packet)
|
||||
{
|
||||
// WRITEME
|
||||
if (!mCluster)
|
||||
{
|
||||
applyLoadCharge(LT_UnwantedData);
|
||||
return;
|
||||
}
|
||||
for (int i = 0; i < packet.clusternodes().size(); ++i)
|
||||
{
|
||||
protocol::TMClusterNode const& node = packet.clusternodes(i);
|
||||
|
||||
// Extract RippleAddress and build ClusterNodeStatus
|
||||
// WRITEME
|
||||
}
|
||||
}
|
||||
|
||||
void PeerImp::recvGetValidation (protocol::TMGetValidations& packet)
|
||||
|
||||
Reference in New Issue
Block a user