Blockchain consensus algorithms for Dummies