Dictatorship, Democracy, and Blockchain