Homework on Stale Blocks

  1. At that moment there are 2 versions of the blockchain being propagated through the network. The version of the blockchain that gets used to mine a new block first, will then make the longest chain. The longest blockchain (most PoW) will then be accepted by the network as the truth.
  2. The block that was mined and part of version of the blockchain that was not used by the miner that mined the new block first, will get dropped out and is called a stale block.
  3. Stale blocks occur whenever there are multiple versions of the blockchain in existence before the network decides witch chain is accepted as truth. The blocks that are part of the chains that are not accepted as truth (although these blocks may have been completely valid at one point) will get dropped and are called stale blocks.
  4. To make sure that your transaction is not part of a future stale block and gets erased from existence.
1 Like
  1. There will be two versions of te blockcain. One with block A as the last block and one with block B.
  2. A stale block or orphand block is a block that is removed from the blockchain.
  3. Stale blocks occur after a block is removed from the blockchain. In a szenarion where two miners solve a block at the same time, depending to which chain the next block is linked to, either block a or b becomes a stale block. The longest blockchain will always win over a shorter one.
  4. after a few new blocks have been mined, you can be sure that your Tx is valid and stays in te blockchain.
1 Like
  1. The miner that adds the block to the longest chain will “win”, the block of the second miner will be dropped and the unconfirmed transactions go back to the mempool.
  2. Stale block or Orphaned block is a block that is not accepted because there is another block with the same version of truth but on a longer blockchain.
  3. They occur when another block with the same version of truth is produced on an other chain that is longer.
  4. To avoid that the block goes back to the mempoop. Better to wait for 6 confirmations.
1 Like

1 Only one block will get into the blockchain the other one will be dropped.
2 It s valid block that has been dropped becouse there was more than one valid block at the same time and the next block built on an other van(the one that got into the blockchain)
3 There could be more valid block at the same time and only one can get into the blockchain
4 Becouse there is the possibility that the block will be a stale block

1 Like
  1. They will be both attached to the blockchain. Only the one that will have another block confirmed on it will be the one true line of the blockchain.
  2. Stale block is the block that once was in the blockchain but got disregarded.
  3. When the block and its following link failed to compete with another part of the blockchain that was able to confirm the POW faster.
  4. To make sure you have enough POW to be on the right lane of the blockchain.
1 Like
  1. What happens in the bitcoin network when two miners solve a block at the same time?
    2 blockhains will exist, they will compete and longest one will win.
  2. The shorter block that looses the competition and is dropped.
  3. When 2 versions of the same block exisit.
  4. So that you can confirm your transaction belonged to the block that succeed, otherwise it goes back to the mempool.
1 Like
What happens in the bitcoin network when two miners solve a block at the same time?

We will have two different versions of the blockchain competing with each other.

What is a stale block?

A block that is dropped because he’s attached to shorter/losing blockchain.

How do stale blocks occur?

He occurs when there are two versions of the blockchain but new blocks are getting attached to the other version so the one the stale block is attached to, is getting the blocks removed.

Why is it important to wait for more than one block to be confirmed when sending or receiving a transaction?

To avoid having your transaction being part of a stale block.

1 Like

1- It is added to the BC until it gets confirmed by the following and than the unconfirmed one drops.
2- Stale Block is the dropped block from the BC.
3- They occur when blocks have the same data at the same time.
4- So the network is sure that the block is valid on the BC.

1 Like

1. What happens in the bitcoin network when two miners solve a block at the same time?
Essentially a fork is created in which both blocks are entirely adequate. However one block over another is chosen depending on which block the next miner has decided to build upon. Immediately one block and chain is chosen while the other block, called the ‘stale block’ is voided and sent back to the mempool.

2. What is a stale block?
A stale block is the block of transactions that has essentially be confirmed but has not been chosen in the chain of blocks that is declared null and all transactions are sent back to the mempool for further approval

3. How do stale blocks occur?
Stale blocks occur when two blocks are both ‘confirmed’ by miners and are being propagated to all other nodes at the same time. One chain of blocks is chosen over another by a miner. When this is done the block that failed to be connected by the new miner is declared a stale block. There can only ever be one version of the same truth in the blockchain.

4. Why is it important to wait for more than one block to be confirmed when sending or receiving a transaction?
It is recommended to wait at least 6 confirmation as to confirm that the block has been added into the blockchain. You would be unaware at anything less because there could possibly be a fork declaring your transaction null.

1 Like

1: When two miners solve a block at the same time, they both begin to propagate to the nodes around them. The block that gets more blocks built on top of it will be the longer chain, and therefore be the one that is added.

2: A stale or orphaned block is a block that is dumped, or returned to the mempool because it was not part of the longest chain to be accepted to the blockchain.

3: A stale block occurs when two miners solve the same block, and after propagation to the surrounding nodes, there are not enough blocks that are added to it. The blockchain will accept the longest version of truth, so the other blocks while also true are orphaned.

4: It is important to wait for confirmation from more than one block to ensure that the transaction goes through and doesn’t end up part of a stale block.

1 Like

1)Both block will be on the blockchain temporarily

  1. it’s a block that was sended back to the mempool

  2. They occur when the blockchain choses the longest chain

4)Because maybe we have a case of stale block and the transaction goes back to the mempool

1 Like
  1. What happens in the bitcoin network when two miners solve a block at the same time?
    A. both blocks are appended to the same chain but dont include each other. This results in two competing chains being propagated through the network
  2. What is a stale block?
    A. A stale block occurs when the next block is appended to one of the above competing chains. This chain becomes the longest and the block not contained within becomes stale.
  3. How do stale blocks occur?
    A. answered above.
  4. Why is it important to wait for more than one block to be confirmed when sending or receiving a transaction?
    A. because your Tx can be sent back to the mempool if it was used in a stale block.
1 Like
  1. The two blocks are accepted and create two versions of the blockchain. The next block will be added on one of the blockchains. The nodes always consider the longer blockchain, so the one that has the new block is considered as the valid one, and the other blockchain will not be considered anymore. The block added on the invalid blockchain will be rejected and its transactions will be added at mempool again.

  2. Stale blocks are blocks that were in the blockchain for a time, but then they were dropped because there was another version of the blockchain longer than they.

  3. When two miners build a block at the same time. In the end, one of the blocks will be dropped and the transactions will be added to the mempool again.

  4. Because confirmed transactions in a block can be added to the mempool again if the block is dropped (stale block).

1 Like
  1. If the two blocks are legit, then the blockchain gets divided in two (temporarily).

  2. The stale block is the one that will eventually get dropped because the other one has been chosen to extend the blockchain.

  3. The nodes closer from one or the other block get a different version of the blockchain, until the next block gets attached to one of the two, consequently the second one is dropped, and transactions go back to the mempool.

  4. To make sure that the previous transaction didn’t get stuck in a stale block.

1 Like
  1. One is built on and accepted while the other becomes a stale block.
  2. A block that is not accepted and transactions are sent back to mempool
  3. 2 blocks being submitted at the same time
  4. It can take up to 6 confirms after a block is accepting into a blockchain before the block is reliable and confirmed.
1 Like
  1. What happens in the bitcoin network when two miners solve a block at the same time?

Each node will propagate their block to their network. Whichever one gets a new block hitched on to it will be the one that prevails in the network, since the network always recognized or validates the longest chain; then, the other block will be dropped, seeing all its transactions returned to the mempool.

  1. What is a stale block?

A block that has been dropped as described in the previous question, when two valid blocks are created at the exact same time.

  1. How do stale blocks occur?

When two valid blocks are created at the same time, but no other block gets appended to one of them, that one becomes a stale block or an orphaned block.

  1. Why is it important to wait for more than one block to be confirmed when sending or receiving a transaction?

Because of what we just explained, to avoid as much as possible seeing our transaction ending up in a stale block.

1 Like
  1. Both miners will keep propagating the block data, until the next block is mined. The new block that is mined becomes the longest of the two truths of chain data, and will therefore be chosen.

  2. A stale block is the block that doesn’t get chosen when a new block is mined from an instance of two blocks mined at the same time. That data gets thrown back into the mempool.

  3. Stale blocks occur when another block accepts one version of two truths in the chain. The other version that does not get chosen then becomes the stale block.

  4. It is important to wait for more than one block to be confirmed because stale blocks and slower mined blocks can be confirmed with the faster, valid blocks that create the longest chain.

1 Like
  1. What happens in the bitcoin network when two miners solve a block at the same time?
    the shorter chain is getting dropped

  2. What is a stale block?
    It is a block returned to the mempool

  3. How do stale blocks occur?
    when 2 blocks getting solved at the same time

  4. Why is it important to wait for more than one block to be confirmed when sending or receiving a transaction?
    to ensure that it’s a valid blockchain

1 Like
  1. What happens in the bitcoin network when two miners solve a block at the same time?
    A fork occurs with two different, valid chains. Whichever version is validated the most by the other nodes, as demonstrated by greatest extension of that chain, becomes the true, and singular blockchain. The other version of the block and now shorter blockchain is invalidated and the transactions are placed back in the mempool.

  2. What is a stale block?
    A stale, or orphaned block is a block that is discarded from the block chain because it represents a shorter chain. The transactions are placed back in the mempool for processing.

  3. How do stale blocks occur?
    As a result of as shorter fork that is not extended nor adopted as quickly in the block chain compared to the other version of the fork.

  4. Why is it important to wait for more than one block to be confirmed when sending or receiving a transaction?
    Waiting for multiple confirmations prevents excessive forking and production of stale blocks, as well allows time for consensus to occur throughout the global network of nodes.

2 Likes
  1. When two miners solve a block at the same time, a fork begins

  2. Stale blocks are blocks that have been dropped because another chain from another fork has become the new consensus truth.

  3. Stale blocks occur when miners solve more blocks from the other chain and all the nodes agree that the blocks from the other chain are to be discarded.

  4. It is important to wait for more than one block to be confirmed to avoid stale blocks and prevent unnecessary forks, to keep things synced and as smooth as possible.

1 Like