Commit Graph

44 Commits

Author SHA1 Message Date
Andreas Fackler 26384cf7c4
Merge pull request #18 from poanetwork/ag_doc_updates
Updates to Documentation
2018-06-06 13:00:14 +02:00
andogro 25341f0fb3 created changelog and contributing files, updated README, added png files including updated screenshot
change updates

fixed typos

Documentation Updates

Document updates
2018-06-05 22:00:29 -06:00
Andreas Fackler d87709b1fc Version 0.3.0 2018-05-29 14:18:53 +02:00
Andreas Fackler d33cf1586f
Merge pull request #17 from poanetwork/afck-refactor
Use VotingKeyChanged events to determine voter set; refactor.
2018-05-29 14:16:53 +02:00
Andreas Fackler 3555598e75 Use VotingKeyChanged events to determine voter set.
Instead of `InitializeChange`, which may or may not lead to an actual
change of the current voter set later, use `VotingKeyChanged` to track
the set.

Also, check the contract addresses, so only events from the correct
instance of the contracts are handled.

The `-v` option now displays the full lists of participating and
abstaining voters for each ballot.

And the Readme recommends the release binaries, so users don't need to
have Cargo installed.
2018-05-29 12:48:59 +02:00
Andreas Fackler 400d80eb32 Refactor counter module. 2018-05-28 17:09:01 +02:00
Andreas Fackler de4d5a36b8 Move count_votes into its own module. 2018-05-28 17:09:01 +02:00
Andreas Fackler 87f1940c11
Merge pull request #15 from poanetwork/afck-block-num
Add an option for earliest block number.
2018-05-28 15:25:54 +02:00
Andreas Fackler 1d2b1c93e5 Clarify -b option format in Readme. 2018-05-28 15:08:01 +02:00
Andreas Fackler 9083b15cd8 Add an option for earliest block number. 2018-05-28 10:24:46 +02:00
Andreas Fackler aee7b3d917 Version 0.2.1, add TLS back in. 2018-05-24 09:08:14 +02:00
Andreas Fackler 945ffff802
Merge pull request #13 from poanetwork/afck-web3-http
Disable unused web3 features.
2018-05-22 13:52:20 +02:00
Andreas Fackler 1708678b3c Disable unused web3 features.
The `web3` create doesn't compile with the `ipc` feature on Windows.
Once https://github.com/tomusdrw/rust-web3/issues/81 is closed and
poa-ballot-stats offers a choice of transport methods, it can be
re-enabled.
2018-05-22 10:40:04 +02:00
Andreas Fackler 96e8e7250d Version 0.2.0 2018-05-21 15:01:12 +02:00
Andreas Fackler 0be2b57901
Merge pull request #12 from poanetwork/afck-get-logs
Fix core, don't show removed validators, add --period.
2018-05-21 14:59:13 +02:00
Andreas Fackler ec2903d91a Add a --period option.
This allows limiting the time period in which ballots are counted.

Closes #7.
2018-05-21 13:25:50 +02:00
Andreas Fackler 0846fb73c0 Don't print removed validators.
Only show validators for which we can find metadata, i.e. which have not
been removed.

Closes #11.
2018-05-21 12:41:37 +02:00
Andreas Fackler fc967e46e3 Use eth_getLogs to work with load-balancing.
This doesn't register a new filter on the server and fixes use with
load-balanced servers like https://core.poa.network.

Fixes #4, fixes #9, fixes #10.
2018-05-21 12:06:15 +02:00
Andreas Fackler b5aaf0b722 Add note about core.poa.network, fix tag regex. 2018-05-21 10:18:53 +02:00
Andreas Fackler 952a3e867e
Merge pull request #6 from poanetwork/afck-0.1.0
Update Rust, Clippy, Rustfmt.
2018-05-21 09:33:20 +02:00
Andreas Fackler 48ae99c1df
Merge pull request #8 from poanetwork/igorbarinov-patch-1
Update README.md
2018-05-19 18:35:50 +02:00
Igor Barinov f56fc28317
Update README.md 2018-05-19 12:25:42 -04:00
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
Andreas Fackler ac7e6e80d2
Merge pull request #3 from poanetwork/afck--logging-json
Improve logging, add contract files.
2018-05-15 17:52:12 +02:00
Andreas Fackler 9365d8c277 Make macro_use explicit. 2018-05-15 17:38:41 +02:00
Andreas Fackler 83e3d00444 Remove unused LogExt, simplify parse_address. 2018-05-15 17:32:14 +02:00
Andreas Fackler 730ebfff2e Add a screenshot to the readme. 2018-05-12 11:04:52 +02:00
Andreas Fackler 82ca652cbd Add a check whether the node is synchronized. 2018-05-10 14:39:37 +02:00
Andreas Fackler d3c556cdcf Use the build scripts from https://github.com/japaric/trust. 2018-05-10 12:24:05 +02:00
Andreas Fackler cc46cc7066 Use ethabi-contract for all contracts. 2018-05-10 10:44:07 +02:00
Andreas Fackler 994d0ae202 Use ethabi-contract for VotingToChangeKeys, too. 2018-05-09 17:28:35 +02:00
Andreas Fackler 78f2da0a4a Use ethabi-contract. 2018-05-09 17:11:25 +02:00
Andreas Fackler 85bb8d26e3 Enable Travis. 2018-05-07 16:00:55 +02:00
Andreas Fackler 7dd3aee48b Improve logging, add contract files. 2018-05-07 11:22:51 +02:00
Andreas Fackler c9a7c42b82 Document and update contract addresses. 2018-05-03 09:34:51 +03:00
Igor Barinov 994564df44
Merge pull request #1 from poanetwork/afck-gpl3
Add the GPL3 license.
2018-04-19 08:05:52 -04:00
Andreas Fackler e6f1165bb7
Add the GPL3 license.
Use the GPL3 license, like the other POA and parity projects.
2018-04-19 09:28:19 +02:00
Andreas Fackler 1f57a50bb1
Add MIT license. 2018-04-01 14:46:13 +02:00
Andreas Fackler d77c1edcd0 Make to_block = latest explicit. 2018-04-01 11:09:51 +02:00
Andreas Fackler 1d7a512bce Show number of ballots, too. 2018-04-01 10:29:39 +02:00
Andreas Fackler 2f20cd0e08 Only print unexpected voter error in verbose mode. 2018-03-31 20:35:57 +02:00
Andreas Fackler 9c3d77130b Add --contracts argument to read addresses from chain spec. 2018-03-31 20:31:53 +02:00
Andreas Fackler 15dd805aef Handle InitiateChange events. 2018-03-31 19:37:09 +02:00
Andreas Fackler 79723c1a31 Initial commit. 2018-03-31 18:50:43 +02:00