what is an orphan block

This occurs when two blocks are mined more-or-less simultaneously as a result of network latency. Stale blocks exist on the blockchain network but have missed the opportunity to replace the last valid block of the blockchain network. In other words, they are considered valid blocks, but they experience a delay in being added to the blockchain. Stale blocks can often occur due to communication delays between miners or connectivity issues in the network. In this case, if multiple miners created blocks at the same time, the block added to the chain is considered the winning block, while the other blocks are called stale blocks. The definition of an orphan block has changed as blockchains have evolved.

Ethereum Uncle Blocks and Altcoin Stale Blocks

In this case, the pool probably wouldn’t even bother checking whether the share actually solved a block or not. Orphan blocks can occur in any blockchain, but they are most common in decentralized networks with a high level of competition among miners. In these networks, miners are constantly racing to solve blocks and earn rewards, and it is not uncommon for two or more miners to find what is an orphan block a block at the same time. The parent-child relationship in a blockchain stems from its database roots, where data from the parent block are included in the child blocks so that values are linked. However, a block was occasionally proposed that was missing its parent’s header, so it could not be processed. This block was called an orphan block because it had no verifiable parent block.

what is an orphan block

What Happens to Transactions in Orphan Blocks?

  • In 2017, a total of 60 stale blocks were recorded, falling to five in 2018, and only two in 2019.
  • To counter this, a variation of the GHOST protocol is used which pays for these valid blocks, adding to the security of the main chain.
  • Also note that a blockchain network with more orphaned blocks could potentially lead to dangers like 51% attack or double-spend attack.
  • The release of Bitcoin Core v.0.10 made it impossible to create these kind of orphan blocks.
  • When a miner mines a block, they broadcast this block to the nodes that are closest to them, and these miners pass it on to other nodes in their own peer network, and so on.

These two blocks are used to create more blocks, causing two chains to emerge. Eventually, one of the chains will have more proof, and the other chain will be discarded. The blocks of the shorter discarded chain are the orphan blocks—they are also called stale blocks.

The Blocks are Not the Orphans

what is an orphan block

In the Ethereum mining universe, stale blocks are called uncle blocks, and miners still earn a reward from these blocks (although it’s smaller than a typical block reward). In a proof-of-work mining networks like Bitcoin, orphan blocks and stale blocks are technical concepts that tend to cause confusion. For this article, we cover what orphan blocks and stale blocks are, how they happen, and how they affect cryptocurrency mining networks. For instance, Ethereum used to reward miners for orphan blocks before it switched to the Proof of Stake mechanism. An orphan block, also known as a “stale block,” is a block in a blockchain that has been orphaned or abandoned by the network.

  • In the Ethereum mining universe, stale blocks are called uncle blocks, and miners still earn a reward from these blocks (although it’s smaller than a typical block reward).
  • During the verification process of the newly received block, a node needed to find its parent before placing it onto the existing chain.
  • Detached blocks are produced when two valid child blocks are simultaneously mined or opened from the same parent block.
  • However, a block was occasionally proposed that was missing its parent’s header, so it could not be processed.
  • Sometimes referred to as orphaned blocks, stale blocks are valid blocks that are successfully mined yet are no longer included in the longest proof of work chain.
  • Some nodes may have considered it to be the best block at some point, but they switched to another chain which does not contain the relevant block anymore.

CEX.IO’s White Paper – COMPASS: Topline Trends for the Crypto Curious and Serious

what is an orphan block

Unraveling the Mystery of Orphan Blocks

What are Uncle Block, Orphaned Block and Stale Block in Blockchain