Towards a general theory of consensus: probabilistic distributed fault tolerance consensus, decentralized voting in DAOs, and a unified consensus framework