added display of usage statistics for GXS identities

This commit is contained in:
csoler 2016-12-21 00:34:07 +01:00
parent ef0850e65b
commit d3051eff1a
9 changed files with 85 additions and 17 deletions

View file

@ -184,7 +184,7 @@ public:
// Cyril: Reputation details. At some point we might want to merge information
// between the two into a single global score. Since the old reputation system
// is not finished yet, I leave this in place. We should decide what to do with it.
#warning (cyril) possibly remove this old reputation field.
GxsReputation mReputation_oldSystem; // this is the old "mReputation" field, which apparently is not used.
RsReputations::ReputationInfo mReputation;
@ -193,6 +193,7 @@ public:
// last usage
time_t mLastUsageTS ;
std::map<std::string,time_t> mUseCases ;
};

View file

@ -108,6 +108,7 @@ class RsServiceControl
virtual ~RsServiceControl() { return; }
virtual bool getOwnServices(RsPeerServiceInfo &info) = 0;
virtual std::string getServiceName(uint32_t service_id) = 0;
virtual bool getServicesAllowed(const RsPeerId &peerId, RsPeerServiceInfo &info) = 0;
virtual bool getServicesProvided(const RsPeerId &peerId, RsPeerServiceInfo &info) = 0;