This website contains age-restricted materials including nudity and explicit depictions of sexual activity.
By entering, you affirm that you are at least 18 years of age or the age of majority in the jurisdiction you are accessing the website from and you consent to viewing sexually explicit content.
seems trivial to check for a login/subscribed etc. then increment up//down votes. why link each vote to an account in public? maybe for mods an account(s) to be banned for botting votes?
Because then people can vote an unlimited number of times.
There needs to be some sort of identifier
array votes[post_id, vote]; // for storing in user profile not public but can be hashed if you don’t trust your dba
Enumerating every user to get the vote count on every single post/comment seems too computationally expensive.
post has it’s own count, this was about a user’s vote history in their profile
Ah okay