humanmade / comment-popularity

Allow visitors to vote on comments
MIT License
25 stars 15 forks source link

Not allowing negative comment weights results in double-spending problem #113

Open slavicd opened 6 years ago

slavicd commented 6 years ago

If we don't allow negative comment weights (at least internally - not necessarily for user interface), we run into the following possible situation:

pdewouters commented 6 years ago

thanks, I was just looking into this actually - do you want to test this PR? https://github.com/humanmade/comment-popularity/pull/115

slavicd commented 6 years ago

114 I actually already submitted a PR - except perhaps it's a little bit of a different approach. Yours makes sense too