Homework on Stale Blocks

  1. What happens in the bitcoin network when two miners solve a block at the same time?
    When two miners solve a block at the same time the miners will continue working on the next block. Depending on location, there will be two different block chains. Whichever block is chosen by chance will be the next block. The information between the two blocks will be accurate, but the next block continued on one chain only.

  2. What is a stale block?
    A stale block is a block that was not chosen by network to continue building upon. The information goes back into the mempool to be gathered and chosen again. There will be a total of six confirmations needed for safe confirmation on the block chain.

  3. How do stale blocks occur?
    Stale blocks occur by miners choosing a different block that was just as correct as the other. The longest block chain is the chain that is deemed correct on the bitcoin network. The ten-minute time window is very important, so blocks are continuing to be connected and confirmed.

  4. Why is it important to wait for more than one block to be confirmed when sending or receiving a transaction?
    A total of six blocks is a safe number of blocks for the block chain to be accurate. Accuracy and transaction history is very important to the network.

1 Like
  1. What happens in the bitcoin network when two miners solve a block at the same time?

Both get blocks.

  1. What is a stale block?

A block on a chain shorter than other chains. It will be dropped.

  1. How do stale blocks occur?

When multiple blocks are created at or near the same time they begin to propagate across the network. The block that is used to create the longest chain, ie is picked up by more nodes win and the other blocks are dropped or become stale.

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

To ensure the bock containing the transaction is not dropped.

1 Like

1. What happens in the bitcoin network when two miners solve a block at the same time?
Both will get appended to the network and it creates two branches like a temporary fork, the next miners will determine the longevity of these , one fork (the shorter one with less POW will eventually get dropped).

2. What is a stale block?
An abandoned block that gets returned to the mempool.

3. How do stale blocks occur?
When 2 miners mine a valid block at approximately the same time.

4. Why is it important to wait for more than one block to be confirmed when sending or receiving a transaction?
It’s important to wait to confirm that it is not a stale block, it’s recommended to wait for six confirmations.

1 Like
  1. Both blocks are appended to the block chain.

  2. A block that is dropped from the block chain.

  3. When two miners solve a block at the same time and then one of the blocks is appended with a another block, thus making the block chain longer.

4.Because your transaction can be dropped with the stale block.

1 Like

What happens in the bitcoin network when two miners solve a block at the same time?
Both will be added to the blockchain and there will be 2 versions. And then when a third miner adds their block to one of the miners blockchain, then that will be the longer one, so the other one will be rejected. And then there will be only one version.

What is a stale block?
A block that once was on the blockchain but got rejected as it wasn’t the longer one.

How do stale blocks occur?
When two miners solve a block at the same time both will be added to the blockchain and there will be 2 versions. And then when a third miner adds their block to one of the miners blockchain, then that will be the longer one, so the other one will be rejected and returned to the mempool.

Why is it important to wait for more than one block to be confirmed when sending or receiving a transaction?
Since the transaction is not 100% confirmed after just 1 block it is recommended to wait for 6 more blocks to be mined before being sure a certain transaction has occurred.

1 Like
  1. What happens in the bitcoin network when two miners solve a block at the same time?
    The chain splits into two chain since both were valid blocks.
  2. What is a stale block?
    The block of the shortest chain after the split mentioned above. Transactions in the stale block will be moved back to the mempool
  3. How do stale blocks occur?
    After a split. Its the block with the shorthest chain because the ‘other’ chain was picked up by miners and used to propagate the next block…
  4. Why is it important to wait for more than one block to be confirmed when sending or receiving a transaction?
    To ensure which block chain line will be the surviving one in the case of stale blocks.
1 Like
  1. What happens in the bitcoin network when two miners solve a block at the same time?

A fork occurs. Some nodes have “A” as the newest block while others have “B” as the newest block.

  1. What is a stale block?
    and
  2. How do stale blocks occur?

When there is a fork and one of the blockchains becomes longer than the other blockchain then the nodes will always choose the longer blockchain and disregard the other. The blocks that were disregarded are called stale blocks. These are blocks that are no longer accepted on the blockchain. They will be sent back to the Mempool.

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

It is important because if you spend a UTXO that was on the newest block of the blockchain it could become a stale block if there is a fork with another longer blockchain variation. If this happens your transaction will be denied by all the nodes. It’s best to wait for at least six new blocks to be confirmed after the block with your UTXO. This will make the chances of there being a fork with your UTXO on the losing blockchain very unlikely.

1 Like
  1. The chain forks temporarily
  2. A block that gets put back into mempool in favor of chain with more POW
  3. Stale blocks occur after a fork is resolved with a longer chain
  4. stale block occurring.
1 Like

(1) When two miners solve a block at the same time, being both valid, different nodes on the network will broadcast each or another they have contact first, making more than one version of the blockchain to be considered both valid temporarily
untill the next block is added to one of them, resulting in the other one (‘smaller’) being dropped, with the transactions it carries being returned to the mempool. So the chain continues linked to one of the two blocks, and the other is what is called stale or orphaned block - answering the question (2) and (3).

  1. Waiting for one - or ideally 6 confirmations - after a transaction is important to make sure it will not be part of a orphaned or stale block ahead, which would send the transaction back to the mempool and therefore meaning it was not finished - properly added to the blockchain as valid - yet.
1 Like
  1. The blockchain splits until another miner appends a block to one of the chains. This then becomes the longest chain.
  2. A block that has been dropped from the chain. The nonces and transactions are returned to the mempool.
  3. When two miners solve blocks at the same time, only one of the blocks will be accepted as continuation of the chain. The other block is considered “stale” and is removed.
  4. To make sure your transaction is not contained within a stale or orphaned block.
1 Like

Both blocks are completely valid. You get two different versions of truth.

A stale block is a block that is in a version of the blockchain that miners didn’t continue with. By now, there is a longer chain out there that miners are working on.

They occur when miners mine a new block more or less simultaneously and this is not immediately seen by all nodes. This can be caused by a lagging network.

Because if a block is stale, all the transactions will be returned to the mempool. Best practice is to wait for 6 new blocks.

1 Like
  1. All 2 miners have the block confirmed and start propagating it in the network.
  2. It means the expulsion of the block in which due to 2 blocks being created at the same time the next miners decide on which block to continue. The longest block will be taken into account while all other blocks that have been inserted since the deviation will be removed and the trx will return to the mempool.
  3. when at the exact same moment two miners solve the puzzle. (2 different truths occur in the blockchain).
  4. Precisely because of the fact that stale blocks can be created. In order to avoid this to a minimum, the blocks must always have as a reference the time of 10 minutes between one block and the next. So that the network has time to fully synchronise before the next block is released.
1 Like
  1. What happens in the bitcoin network when two miners solve a block at the same time?
    Eventually, the one with the highest proof of work - usually the longest blocks after - wins and is accepted as the original version. Other on is dropped and transactions returned to the mempool.

  2. What is a stale block?
    The losing block - the block that was originally accepted but lost out to another block with a higher proof of work.

  3. How do stale blocks occur?
    when two miners solve a block at the same time. Since only one block can be accepted as the original at a time, the other one iscalled a stale block.

  4. Why is it important to wait for more than one block to be confirmed when sending or receiving a transaction?
    Because the block that contains your transaction can turn out to be the stale block.

1 Like
  1. Each miner will have solved their own block with the nonce found by proof of work that solves their block. Here will be two perfectly valid resolved blocks to be added to the next block and consequently award the block reward to the responsible miner. Both blocks will be propagated by the network and the different miners will add the first one they receive to their copy of the blockchain, temporarily accepting that miner as the winner, accepting that they take the reward. Immediately afterwards, everyone will try to solve the next block. This means that during a small interval of time, there will be two different versions of the blockchain, both equally valid. Depending on different factors, such as the computational strength of the miners of each version or even luck, soon a next block will be discovered in one of the two versions before the other. When the longest version starts to spread through the network, the miners who had accepted the other version will have no choice but to discard the one they were working on since in Proof of Work, the longest blockchain always wins, (meaning longest to the one with the most accumulated computational work). When the rejected version of the blockchain is discarded, all those transactions included in this block are rejected (unless they have been in one of the following blocks already accepted) and will be returned to the mempool so that the miners take them into consideration again.

  2. Stale blocks are blocks that are no longer part of the current best blockchain because they were overridden by a longer chain.
    These are blocks that have been successfully mined, but are not active and therefore not included in the blockchain.

  3. When two blocks are mined more-or-less simultaneously.

  4. To ensure that the block will not be orphaned or stale.

1 Like

The block splits into two. It then depends on which block connects with other blocks fastest and then the one with the smallest chain is orphaned.
When a block is put back to the mempool because it is no longer part of the blockchain
When two miners confirm the blocks without the nodes knowing that this has already happened on another part of the network.
You want to wait for 6 confirmations before you can be sure this has been put onto the blockchain

1 Like
  1. It comes to showing two version of the truth on the blockchain which eventualy be resolved by majority of the network accept one version of the blockchain and the other orphaned block will be drop and send the transactions back to the mempool.
  2. Stale block is block that was droped from the network and send back to the mempool
  3. Stale block occures when 2 blocks are mine at the same time but only one has been accepted by the network while other block (stale block) has been sent back to the mempool.
  4. Recomended waiting period of six blocks confirmed is for the purpose of avoiding situations where you will end up with stale block.
1 Like

A1. Two paths will be formed.
A2. Blocks that are drop from the shorter chain.
A3. When are the two path and later due to subsequent blocks getting mined one path becomes the longest chain, the blocks from the shorter chain gets staled.
A4. To identify the longest chain and to let the stale blocks get dropped.

1 Like
  • What happens in the bitcoin network when two miners solve a block at the same time?- If the block is not solved in the 10minute time range the block will drop, and be placed in the mempool

  • What is a stale block? its a valid block that has been dropped

  • How do stale blocks occur? when the block is dropped or invalid not confirmed it will be considered a stale block

  • Why is it important to wait for more than one block to be confirmed when sending or receiving a transaction? it is best to wait for 6 blocks to be fully confirmed that your block has been accepted and appended

1 Like
  1. The chain with the next block added will remain as the continuation of the block chain as it is technically longer and difficult than the competing chain.
  2. A stale block is a dropped block from the chain
  3. A stale block occurs when 2 blocks are competing to be added to the chain. The losing chain gets dropped from the confirmed continued blockchain. These then become known as stale or orphaned blocks.
  4. It is important to wait for more than a one block confirmation, this is to ensure that the block produced does not become stale there for creating failed transactions. If this was to occur the failed transactions are returned to the mempool
1 Like

1 when two miners solve a block at the same time there are temporary two different version of truth.
the chain is splitted into two valid state but only one will be accepted as the right one as soon as a new block is added to one of the two blocks.

2 a stale block is a perfectly fine blocks that is discarded from the chain because another perfectly fine block entered the longest chain before him

3 stale blocks occur when two different blocks are mined at the same time, one will survive as the right path and the longest chain and the other one will be discarded (stale block)

4 it is important to wait for more than one block to be confirmed after a tx to verify that our transaction is not stuck in a stale block

1 Like