• m3t00🌎@lemmy.world
    link
    fedilink
    English
    arrow-up
    3
    ·
    3 months ago

    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?

    • Adanisi@lemmy.zip
      link
      fedilink
      English
      arrow-up
      1
      ·
      3 months ago

      Because then people can vote an unlimited number of times.

      There needs to be some sort of identifier

      • m3t00🌎@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        3 months ago

        array votes[post_id, vote]; // for storing in user profile not public but can be hashed if you don’t trust your dba