vote-validator

command
v0.0.0-...-ca8d67e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 2, 2024 License: ISC Imports: 17 Imported by: 0

README

vote-validator

vote-validator is a tool for VSP admins to verify that their vspd deployment is voting correctly according to user preferences.

What it does

  1. Retrieve all voted tickets from the provided vspd database file.
  2. Retrieve vote info from dcrdata for every voted ticket.
  3. For the n most recently voted tickets, compare the vote choices recorded on-chain to the vote choices set by the user.
  4. Write details of any discrepancies to a file for further investigation.

How to run it

Only run vote-validator using a copy of the vspd database backup file. Never use a real production database.

vote-validator can be run from the repository root as such:

go run ./cmd/vote-validator -n 1000 -f ./vspd.db-backup

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL