Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
data
.gitignore
2016_US_County_Level_Presidential_Results.csv
README.md
create_merkle_tree.py
update_merke_tree_hashes.py

README.md

CSV Data from https://raw.githubusercontent.com/tonmcg/County_Level_Election_Results_12-16/master/2016_US_County_Level_Presidential_Results.csv (via wget into the checkout directory).

After that, I ran:

python2 create_merkle_tree.py

That created directories and JSON documents for each voting district.

After that, I ran:

python2 update_merke_tree_hashes.py

That one just runs in a loop. Sure that's not exactly friendly to the host machine, but this is only a proof of concept.

Rust port

There's a Rust port of this going on here