Compare leading blockchain consensus algorithms. Analyze the trade-offs between PoW, PoS, DPoS, and pBFT concerning security, scalability, and decentralization.