added filter in p3turtle against banned hashes in tunnel requests and search results

This commit is contained in:
csoler 2018-08-22 21:57:56 +02:00
parent 365464623a
commit 3055897425
No known key found for this signature in database
GPG key ID: 7BCA522266C0804C
6 changed files with 50 additions and 0 deletions

View file

@ -271,6 +271,7 @@ public:
virtual int banFile(const RsFileHash& real_file_hash, const std::string& filename, uint64_t file_size) =0;
virtual int unbanFile(const RsFileHash& real_file_hash)=0;
virtual bool getPrimaryBannedFilesList(std::map<RsFileHash,BannedFileEntry>& banned_files) =0;
virtual bool isHashBanned(const RsFileHash& hash) =0;
/***
* Utility Functions.