Counting Votes

  1. Fetch a summary

  2. Index the cycle (syncs pox data map)

  3. Sync nmongon-stacker votes - note due to a bug this doesn't add new so you need to remove the existing non-stacker votes (see below)

  4. Pool stackers;

    1. read pool-stacker votes

  5. Solo stackers;

    1. read solo stacker votes

// mongo commands
db.proposalVotes.countDocuments({event:'vote'})

Last updated