mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-19 22:40:36 -04:00
added ability to keep track of when keys have been last used for signature check, signing and encryption, so that we can later detect which keys are unused and get rid of them
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6374 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
bb916ad1cc
commit
2986e81f7e
4 changed files with 45 additions and 21 deletions
|
@ -209,8 +209,9 @@ class RsPeerDetails
|
|||
uint32_t visState;
|
||||
|
||||
/* basic stats */
|
||||
uint32_t lastConnect; /* how long ago */
|
||||
uint32_t connectState; /* RS_PEER_CONNECTSTATE_... */
|
||||
uint32_t lastConnect; /* how long ago */
|
||||
uint32_t lastUsed; /* how long ago since last used: signature verif, connect attempt, etc */
|
||||
uint32_t connectState; /* RS_PEER_CONNECTSTATE_... */
|
||||
std::string connectStateString; /* Additional string like ip address */
|
||||
uint32_t connectPeriod;
|
||||
bool foundDHT;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue