Difference between revisions of "Blockchain"

From wiki
Jump to navigation Jump to search
Line 14: Line 14:
 
Nodes must prove they are allowed to participate in the blockchain network. The consensus algorithm defines how a node can do that. These are the algorithm types I know of:
 
Nodes must prove they are allowed to participate in the blockchain network. The consensus algorithm defines how a node can do that. These are the algorithm types I know of:
 
* [[Proof of Work]] - Bitcoin - Solving a cryptographic puzzle  
 
* [[Proof of Work]] - Bitcoin - Solving a cryptographic puzzle  
* [[Proof of stake]] - Cardano - Having an amount of tokens (e.g. cryptocurrencies)
+
* [[Proof of Stake]] - Cardano - Having an amount of tokens (e.g. cryptocurrencies)
* [[Proof of authority]]
+
* [[Proof of Authority]]
 
* [[Proof of Elapsed time]]
 
* [[Proof of Elapsed time]]
* [[Proof of Capacity and Proof of Space]]
+
* [[Proof of Capacity]] (including Proof of Space)
 
* [[Proof of Burn]]
 
* [[Proof of Burn]]
  
 
==Forks==
 
==Forks==
 
The consensus algorithm of a blockchain may change over time e.g. to make it more efficient or to fix bugs. If several node-owners in the network disagree with a change the blockchain can be forked. A new blockchain governed by the new algorithm emerges. All assets (cryptocurrencies) in the chain are forked too. This happened to BitCoin august 1, 2017 when BitCoinCash was created that has a bigger blocksize than BitCoin (8MB for BCH vs 1MB for BTC). For each BitCoin aowned on the BitCoin blockchain before the fork one received 1 BCH.
 
The consensus algorithm of a blockchain may change over time e.g. to make it more efficient or to fix bugs. If several node-owners in the network disagree with a change the blockchain can be forked. A new blockchain governed by the new algorithm emerges. All assets (cryptocurrencies) in the chain are forked too. This happened to BitCoin august 1, 2017 when BitCoinCash was created that has a bigger blocksize than BitCoin (8MB for BCH vs 1MB for BTC). For each BitCoin aowned on the BitCoin blockchain before the fork one received 1 BCH.

Revision as of 14:35, 31 May 2021

  • A blockchain is a recording of data (a ledger).
  • Blocks can have one or more records.
  • Blocks are chained together by the hash of the content of the last block. Except the first (genesis) block all blocks start with the hash of the block it succeeds.
  • Any change in any of the previous blocks will change the hash of that block an so break the chain

Transactions

Blockchain transaction use Public Key Cryptography. A transaction signed by the senders private key and send to the receivers public key. This way anyone can verify the sender is the actual owner of the asset and the target is uniquely identified too.

Consensus Algorithm

A consensus algorithm is used to verify a block's correctness.

  • Nodes in the blockchain network verify the blocks.
  • A block is valid when the majority of nodes think so.

Nodes must prove they are allowed to participate in the blockchain network. The consensus algorithm defines how a node can do that. These are the algorithm types I know of:

Forks

The consensus algorithm of a blockchain may change over time e.g. to make it more efficient or to fix bugs. If several node-owners in the network disagree with a change the blockchain can be forked. A new blockchain governed by the new algorithm emerges. All assets (cryptocurrencies) in the chain are forked too. This happened to BitCoin august 1, 2017 when BitCoinCash was created that has a bigger blocksize than BitCoin (8MB for BCH vs 1MB for BTC). For each BitCoin aowned on the BitCoin blockchain before the fork one received 1 BCH.