Proof-of-Stake (PoS)

Proof-of-Stake (PoS) Consensus Mechanism

Proof-of-Stake (PoS) is a consensus mechanism used to secure a blockchain network and ensure that only legitimate transactions are added to the chain . It serves as an alternative to the Proof-of-Work (PoW) mechanism .
In a PoS system, network security is maintained by validators who lock, or "stake," their cryptocurrencies . This mechanism is often favored for its potential to be more energy-efficient and scalable compared to PoW .

Key Operational Properties of PoS

PoS systems rely on clearly defined thresholds to ensure stability and resilience against malicious behavior or faults . These thresholds are based on the percentage of staked tokens and define three fundamental properties:
PropertyDefinitionTypical Threshold
LivenessEnsures the network continues to operate, process transactions, and reach consensus .33.3%
FinalityThe point at which a transaction or block becomes irreversible .33.3%
SafetyThe network's ability to prevent malicious activities, such as double spends or unexpected forks .66.6%
The lower thresholds for Liveness and Finality (33.3%) represent the minimum failure points for network progress and transaction irreversibility, while Safety requires a higher threshold (66.6%) to sustain protection against malicious actions .

PoS in Practice: The Ethereum Merge

The most notable transition to PoS was the Ethereum Merge, where the Ethereum blockchain shifted from a mining-based PoW system to a more energy-efficient, scalable PoS system . This transition was achieved by joining Ethereum's mainnet with its PoS-based system, known as the Beacon Chain .

Ethereum Transaction Flow

In Ethereum's PoS system, a transaction follows a specific lifecycle :
  1. User Submission: A user sends a transaction, which includes a tip (reward for validators) and a gas fee (payment for computational resources) .
  2. Node Mempools: The transaction is sent to mempools, where nodes collect the most profitable transactions, prioritizing those with higher tips and gas fees .
  3. Block Building: A Block Builder selects transactions from the mempool to construct a new block .
  4. Block Proposer: The Block Proposer broadcasts the new block to the network, where it is checked by light nodes (verifying the header) and full nodes (ensuring data availability) .
  5. Consensus Layer: If the block passes checks, consensus is formed to append the block to the chain .

Delegated Proof-of-Stake (DPoS)

Delegated Proof-of-Stake (DPoS) is a variation of the PoS consensus mechanism .

PoS and Network Decentralization

PoS models are often used to promote decentralization by rewarding stakers with minted tokens for participating in the network's governance, security, and maintenance . For example, Starknet is planning to transition its sequencer and prover operations to a PoS protocol to ensure that no single party is essential to the network's continued liveness .
StarkWare's token-minting proposal for Starknet, loosely based on Ethereum's monetary policy, aims to balance rewarding stakers and managing inflation expectations . The proposal includes two properties :
  • The total minting rate increases as more tokens are staked .
  • The staking reward, as a percentage of the staked amount, decreases as more tokens are staked .

PoS vs. PoW

While PoW was the first and is considered a battle-tested security model, PoS is viewed as potentially more efficient . However, PoS may introduce new and less obvious attack vectors . PoW's success paved the way for PoS research to be taken seriously . PoS systems often address security concerns by allowing for a dynamic set of validators, promoting token holder participation, and implementing steep penalties (slashing) for protocol violations .
You're viewing a shared conversation. Your questions will start a new chat.