Go to file
Andreas Fackler 2a70cd3998 Update Rust, Clippy, Rustfmt.
Clippy 0.0.202 fixes a bug that prevented using it here.
https://github.com/rust-lang-nursery/rust-clippy/issues/2594
2018-05-19 17:13:01 +02:00
abi Improve logging, add contract files. 2018-05-07 11:22:51 +02:00
ci Update Rust, Clippy, Rustfmt. 2018-05-19 17:13:01 +02:00
contracts Improve logging, add contract files. 2018-05-07 11:22:51 +02:00
src Update Rust, Clippy, Rustfmt. 2018-05-19 17:13:01 +02:00
.gitignore Initial commit. 2018-03-31 18:50:43 +02:00
.travis.yml Update Rust, Clippy, Rustfmt. 2018-05-19 17:13:01 +02:00
Cargo.lock Use ethabi-contract. 2018-05-09 17:11:25 +02:00
Cargo.toml Use ethabi-contract. 2018-05-09 17:11:25 +02:00
LICENSE Add the GPL3 license. 2018-04-19 09:28:19 +02:00
README.md Add a screenshot to the readme. 2018-05-12 11:04:52 +02:00
screenshot.png Add a screenshot to the readme. 2018-05-12 11:04:52 +02:00

README.md

POA ballot stats

A command line tool that displays voting statistics for the POA network. It requires a recent version of Rust, and needs to communicate with a fully synchronized node that is connected to the network: POA installation. Note that poa-ballot-stats needs access to the network's full logs, so the node must run with --pruning=archive --no-warp.

You can view the command line options with -h, and specify a different endpoint if your node e.g. uses a non-standard port. By default, it tries to connect to a local node http://127.0.0.1:8545. In verbose mode, with -v, the complete list of collected events is displayed.

The -c option takes a map with the POA contracts' addresses in JSON format. You can find the current maps for the main and test network the contracts folder. By default, it uses core.json, for the main network.

Examples:

$ cargo run -- -h
$ cargo run
$ cargo run -- -c contracts/sokol.json https://sokol.poa.network -v

Screenshot

Screenshot