Cryptocurrency Basics

Support Center

Cryptocurrency Basics

Introduction

  • What is Cryptocurrency?
  • How does Cryptocurrency work?
  • Popular Cryptocurrencies
  • History of Cryptocurrency
  • How does a blockchain work?
  • What is "Decentralisation" and why is it important?
  • Mining and Consensus Mechanisms
  • Permissioned vs. Permissionless Blockchains
  • What is the difference between a coin and a token?
  • What are self-custody & non-custodial wallets?

Getting Started

  • How To Buy Cryptocurrency
  • Setting Up a Crypto Wallet
  • Securing Your Cryptocurrency
  • Understanding Exchange Platforms
  • Types of Cryptocurrency Wallet
  • Best Practices for Crypto Storage
  • Common types of Cryptocurrency Scams
  • How to identify a Cryptocurrency Scam?
  • How to avoid Cryptocurrency Scams
  • Do I owe taxes on Crypto transactions?
  • How to Track Your Crypto Portfolio

Decentralized Finance (DeFi)

  • What is DeFi?
  • How DeFi Differs from Traditional Finance
  • Major Use Cases in DeFi
  • What are Smart Contracts?
  • Understanding Liquidity Pools
  • Staking and Yield Farming
  • DeFi Risks and Security
  • What Is Crypto P2P Trading, and How Does It Work?

Mining and Consensus Mechanisms

In a blockchain network, transactions are grouped into “blocks.” Once a block is filled with enough transactions, or when the block's time limit is reached, it is proposed to be added to the chain. At this point, the consensus mechanism comes into play. This mechanism is designed to allow all nodes in the network to agree on the validity of transactions without needing a central authority.

The Byzantine Generals Problem: An Analogy for Blockchain Consensus

A helpful analogy to understand the consensus mechanism is the Byzantine Generals problem. Imagine you're playing a game with friends where everyone must agree on the rules, but some friends might try to cheat. In the Byzantine Generals problem, a group of generals must coordinate an attack, but they can't fully trust each other. If they don't agree on the same plan at the same time, the attack will fail. The problem is that some generals may send conflicting messages or act as traitors.

Blockchain nodes face a similar dilemma: should they validate transactions or not? The consensus mechanism ensures that all nodes can reach agreement, solving this trust issue.

Proof of Work (PoW)

The consensus mechanism used by Bitcoin is called Proof of Work (PoW). It solves the Byzantine Generals problem by requiring participants (miners) to solve a complex computational challenge. When a miner solves the problem, the block is added to the network, and the miner receives a reward. This process is very energy-intensive, as it requires a lot of computing power.

A useful analogy is mining for gold. Just like gold miners expend effort and use tools to extract precious metals, Bitcoin miners use computers to “mine” new bitcoins from the network. The reward for this work includes a set number of newly created bitcoins, which decreases over time (halved every four years), and transaction fees paid by those who want their transactions included in the block.

Proof of Stake (PoS)

In contrast, Proof of Stake (PoS) selects a validator (similar to a miner in PoW) based on the amount of cryptocurrency they "stake" or lock in the network. For example, on the Ethereum network, a validator must stake 32 ETH. Unlike PoW, PoS doesn't require solving complex computational problems, which leads to significant power savings.

Validators are incentivized to act honestly because they risk losing their stake if they engage in malicious activity. In other networks, like Cardano, the probability of being chosen as a validator may also depend on the volume of tokens staked.

Proof of Authority (PoA)

Proof of Authority (PoA) is another consensus algorithm, where the validator’s reputation or identity is at stake rather than computational power (PoW) or tokens (PoS). This model is commonly used in private blockchains where all participants are known and trust is based on reputation. In PoA, validators are trusted entities, and their identity is linked to their actions, reducing the risk of malicious behavior. Although there is some centralization, PoA allows for a more efficient network with higher transaction throughput compared to PoW.

Proof of Capacity (PoC)

Proof of Capacity (PoC) relies on the storage capacity of the validator. Instead of relying on computing power or staked tokens, validators store possible solutions to a puzzle on their hard drives. The more storage a validator dedicates to this task, the higher the chance they have of finding the solution and receiving a reward. PoC incentivizes validators with large storage capacity, making it a less energy-intensive alternative to PoW.

 

These different consensus mechanisms—Proof of Work (PoW), Proof of Stake (PoS), Proof of Authority (PoA), and Proof of Capacity (PoC)—serve as the foundation for various blockchain networks. Each mechanism balances trade-offs between security, decentralization, and efficiency, ensuring that nodes can agree on the state of the blockchain and maintain the integrity of the network. Understanding these mechanisms is key to grasping how blockchains work and how different networks tackle the challenge of decentralized trust.

 

More articles in this section

What is Cryptocurrency?

How does Cryptocurrency work?

Popular Cryptocurrencies

History of Cryptocurrency

How does a blockchain work?

What is "Decentralisation" and why is it important?

Permissioned vs. Permissionless Blockchains

What is the difference between a coin and a token?

What are self-custody & non-custodial wallets?