changelogUpdate
Read More

What is an Orphan?

06 Feb 2023
5 Minute Read

An orphan block, also known as an "orphan block," is a block in a blockchain that has been created but is not recognized by the rest of the network as part of the main blockchain. This occurs when two miners independently generate a block at approximately the same time, causing the network to split into two separate chains.

In a blockchain network, blocks are typically added to the blockchain in a linear, chronological order. However, if two miners generate blocks simultaneously, it can lead to a situation where one block is accepted by the majority of the network, while the other block is not. The block that is not accepted becomes an orphan block.

Orphan blocks can cause a number of problems for blockchain networks. For example, they can slow down the overall processing of transactions and increase the size of the blockchain, which can be a problem for systems with limited storage capacity. Additionally, they can lead to potential security vulnerabilities, since the same transactions may be processed multiple times on different chains.

To avoid the creation of orphan blocks, many blockchain networks employ a consensus mechanism, such as proof of work or proof of stake, to determine which miner will add the next block to the chain. This helps to ensure that only one block is added at a time, reducing the risk of multiple chains and orphan blocks.

In conclusion, an orphan block is a block in a blockchain that has been created but is not recognized by the rest of the network as part of the main blockchain. This can occur when two miners independently generate blocks at approximately the same time. Orphan blocks can cause a number of problems, such as slowing down the processing of transactions, increasing the size of the blockchain, and potentially leading to security vulnerabilities. To avoid the creation of orphan blocks, many blockchain networks employ a consensus mechanism to determine which miner will add the next block to the chain.

Simplified Example

Think of a group of kids playing together and building a city with toy blocks. Each kid is responsible for building one block at a time and adding it to the city. However, sometimes a kid builds a block, but it doesn't get added to the city because the other kids didn't see it or didn't agree to include it. This block is now separated from the rest of the city and is like an "orphan" block in blockchain technology. In a blockchain network, blocks are added to the chain in a specific order, and an "orphan" block is a block that is not added to the main chain because it doesn't have enough support from the network. Just like the block that was not added to the toy city, an orphan block in blockchain technology is separated and discarded.

History of the Term "Orphan"

The precise origins of the term "orphan" within the realm of cryptocurrency are unclear, yet it is thought to have surfaced in the early 2010s concurrently with the rise of decentralized consensus mechanisms, notably Proof of Work (PoW). Before this period, many cryptocurrency protocols depended on centralized mechanisms to validate transactions and sustain the integrity of the blockchain. The introduction of decentralized consensus mechanisms marked a paradigm shift, emphasizing distributed validation processes and reducing reliance on central authorities in the cryptocurrency ecosystem. The term "orphan" likely found its place in describing blocks or transactions that become isolated or unconfirmed due to the decentralized nature of these consensus mechanisms.

Examples

Bitcoin Blockchain: In the Bitcoin blockchain, an orphaned block refers to a valid block that is not included in the main chain of blocks and is discarded by the network. This occurs when two miners solve a block at the same time and broadcast their solutions to the network. The network will eventually choose one of the blocks to add to the chain and the other block will become an orphan. The miner who created the orphaned block will not receive a reward for their work and will have to start mining a new block.

Ethereum Blockchain: The Ethereum blockchain operates similarly to the Bitcoin blockchain and also uses a proof-of-work consensus mechanism. As a result, the occurrence of orphaned blocks is also common in the Ethereum blockchain. An orphaned block in the Ethereum blockchain is a valid block that is not included in the main chain of blocks and is discarded by the network.

Other Blockchains: Orphaned blocks can occur in any blockchain that operates using a proof-of-work consensus mechanism or any other consensus mechanism where blocks are added to the chain through competition between nodes. The frequency of orphaned blocks can vary depending on the specific design of the blockchain and the level of competition between nodes. In general, the occurrence of orphaned blocks is a normal part of the consensus process and helps to ensure that the blockchain operates securely and efficiently.

  • Genesis Block: The first block in a blockchain, and is often referred to as the "genesis" or "creation" of the blockchain.

  • Proof of Work: A consensus algorithm used in blockchain technology to validate transactions and secure the network.

Share this article