mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-07 16:45:11 -04:00
fixed a few bugs in display of tracking info
This commit is contained in:
parent
2096cd6c52
commit
79c80c968a
8 changed files with 53 additions and 26 deletions
|
@ -27,7 +27,7 @@
|
|||
#include "groutermatrix.h"
|
||||
#include "grouteritems.h"
|
||||
|
||||
//#define ROUTING_MATRIX_DEBUG
|
||||
#define ROUTING_MATRIX_DEBUG
|
||||
|
||||
GRouterMatrix::GRouterMatrix()
|
||||
{
|
||||
|
@ -197,6 +197,10 @@ void GRouterMatrix::debugDump() const
|
|||
std::cerr << it->second[i] << " " ;
|
||||
std::cerr << std::endl;
|
||||
}
|
||||
std::cerr << " Tracking clues: " << std::endl;
|
||||
|
||||
for(std::map<RsGxsMessageId, RoutingTrackEntry>::const_iterator it(_tracking_clues.begin());it!=_tracking_clues.end();++it)
|
||||
std::cerr << " " << it->first << ": from " << it->second.friend_id << " " << now - it->second.time_stamp << " secs ago." << std::endl;
|
||||
}
|
||||
|
||||
bool GRouterMatrix::computeRoutingProbabilities(const GRouterKeyId& key_id, const std::vector<RsPeerId>& friends, std::vector<float>& probas) const
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue