Find the % of AVW of many different polls on the Gridcoin network. Works entirely through running RPC commands on your wallet.
Want to know how to run this? Look at the setup section here.
Want to know more about what AVW is? Read the what is AVW section
-
Download the program
- Either use the binaries in the release tab or follow the How to Run From Python section below
-
Open the Gridcoin wallet and click Setting then Edit config. Add the following lines replacing things in
<>
with values:
server=1
rpcallowip=127.0.0.1
rpcuser=USERNAME>
rpcpassword=<PASSWORD>
- You will use the username and password you put as the RPC Username and RPC password for this program
-
Restart the wallet after making those changes
-
Now run this program (make sure to leave your wallet runnning)
- Download or clone this repository
- Can download and unzip this file
- Or run
git clone https://github.com/RoboticMind/avw-calc
- Install Python 3 for your system if not already installed (make sure to check the add Python to PATH option)
- Open a terminal
- On windows you can do that by pressing Ctrl-r then entering cmd
- On Linux and MacOS look for something labeled terminal
- Find the path that your dowload of this repository is in and type and enter
cd /path/to/folder
replacing the/path/to/folder
with the actual path - If on linux, install wxpython using the insturctions here or otherwise it will take much longer to instal
- Run
pip install -r requirements.txt
- Now you can run
python avw-calc-gui.py
(GUI version) orpython avw-calc-cli.py
(command line version) to run the program
Active Vote Weight (AVW) is the amount of vote weight from people that are active on the network. Every poll type but opinion/casual requires a certain % of AVW to vote on the poll for the results to count
In a broad sense AVW is calculated like this:
voteweight from online coins + voteweight from magnitude - theoretical voteweight of pools (since they don't vote)
For more information see the active vote weight section of the voting wiki page