mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-29 00:27:27 -04:00
changed RsGenExchange strategy to use a threshold on reputation when validating posts
This commit is contained in:
parent
e60ac99994
commit
b009c1135f
5 changed files with 75 additions and 60 deletions
|
@ -31,6 +31,9 @@
|
|||
class RsReputations
|
||||
{
|
||||
public:
|
||||
static const float REPUTATION_THRESHOLD_ANTI_SPAM = 1.2f ;
|
||||
static const float REPUTATION_THRESHOLD_DEFAULT = 1.0f ;
|
||||
|
||||
// This is the interface file for the reputation system
|
||||
//
|
||||
enum Opinion { OPINION_NEGATIVE = 0, OPINION_NEUTRAL = 1, OPINION_POSITIVE = 2 } ;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue