added some debug info to file control system and fixes a problem with sending TS

This commit is contained in:
csoler 2018-08-25 18:44:29 +02:00
parent 3055897425
commit c14d898901
No known key found for this signature in database
GPG key ID: 7BCA522266C0804C
6 changed files with 78 additions and 18 deletions

View file

@ -270,6 +270,7 @@ class p3FileDatabase: public p3Service, public p3Config, public ftSearch //, pub
std::set<RsFileHash> mBannedFileList ; // list of banned hashes. This include original hashs and H(H(f)) when coming from friends.
bool mTrustFriendNodesForBannedFiles ;
bool mBannedFilesChanged;
time_t mLastPrimaryBanListChangeTimeStamp;
void locked_sendBanInfo(const RsPeerId& pid);
void handleBannedFilesInfo(RsFileListsBannedHashesItem *item);