ConsensusFromTrust

My solution to ConsensusFromTrust, programming assignment 2 from the Coursera MOOC "Bitcoin and Cryptocurrency Technologies". With this simple solution I got 80/100.