Secure Proof Of Stake implementation on Bitcoin [combined summary]



Individual post summaries: Click here to read the original discussion on the bitcoin-dev mailing list

Published on: 2019-07-24T09:30:46+00:00


Summary:

The email thread discusses the implementation of Proof of Stake (PoS) in Bitcoin and its advantages and drawbacks compared to Proof of Work (PoW). Kenshiro suggests using PoS v3.0 with additional improvements such as hardcoded checkpoints and the ability to detect transaction censorship. However, ZmnSCPxj argues that PoW is more efficient and secure due to the trust-minimization and uncensorability requirements of Bitcoin. ZmnSCPxj also points out flaws in Kenshiro's proposed improvements, including the need to trust developers and vulnerability to censorship attacks.The discussion highlights potential risks of PoS, including stake-grinding attacks and the possibility of a single entity controlling more than 51% of stakeable coins. The email thread emphasizes the trade-offs between PoW and PoS and the challenges of achieving a secure and decentralized consensus algorithm.The writer of the original email suggests that PoS could be a secure and eco-friendly alternative to PoW. They propose using PoS v3.0 with hardcoded checkpoints and a block explorer or trusted source to verify the hash of the current block height. However, ZmnSCPxj argues that PoW is more efficient and provides uncensorability. They also highlight the difficulty of detecting if a single entity controls more than 51% of stakeable coins under PoS, making it vulnerable to censorship attacks.In another email conversation, Kenshiro proposes a full change to the PoS protocol to prevent energy waste and 51% history rewrite attacks. Kenshiro suggests implementing hardcoded checkpoints and allowing only one staker to create a block in each block, preventing spamming by other stakers. However, Oscar Lafarga raises concerns about the security risk introduced by block explorers and the Bitcoin Core release dispatch system. Lafarga questions the usefulness of similar checkpointing schemes in improving the Bitcoin network.Lafarga notes that the proposed PoS implementation would operate as an addition to the current PoW consensus code. They caution against introducing block explorers and dispatch systems, which could reduce the trustlessness of the network. Lafarga also highlights past cases where similar checkpointing schemes weakened consensus without improving the network.The writer suggests that correctly implemented PoS could be secure against 51% history rewrite attacks. They propose hardcoded checkpoints and moving checkpoints as improvements to protect the blockchain and prevent long-range attacks. Nodes would only allow chain reorganizations not deeper than a certain number of blocks. The writer concludes that even with a large majority of coins, an attacker would be unable to perform a history rewrite attack, only slowing down the network or censoring transactions in their own blocks.


Updated on: 2023-08-02T01:06:23.028850+00:00