Homework on Stale Blocks

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

Two new blocks are able to append the blockchain at the same time if two miners solve a block at the same time.

  1. What is a stale block?

A stale block is a solved block that was detached from the blockchain because the node network chose a different longer chain to continue the blockchain.

  1. How do stale blocks occur?

Stale blocks occur when two miners solve independent blocks and append their solved blocks to the blockchain at the same time creating two versions of the blockchain, Version 1 and Version 2. Then, a new miner solves a block and appends the solved block to version 1 of the blockchain which then becomes the longer and thus permanent version of the blockchain. All other versions, including version 2 are disqualified. So what happens to the version 2 block that was properly solved and appended to the blockchain? It becomes a stale block.

  1. 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 for more then one block to be confirmed by the blockchain before trying to add another block so you don’t append a new block to a block that will become an orphaned block.

1 Like

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

If 2 miners solve block at the same time it will end up having two block chains. The next miner will choose which block to add and the other block will be put in the mempool. The blockchain takes the longest chain.

What is a stale block?

A stale block is a valid block with a shorter chain. It will be deleted.

How do stale blocks occur?

A stale block occur when miners solve the block at same time. There can only be one block. One block will be dropped becoming a stale block.

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

The transaction could be in a stale block and 6 confirmations will ensure transaction is in a block that’s accepted by network.

1 Like
  • What happens in the bitcoin network when two miners solve a block at the same time?
    .They will both be accepted until they get propagated through the network, which ever then gets accepted by another miner first will become the longest chain and therefore be the true chain and the other block will be dropped with any transactions returned to the mempool.

  • What is a stale block?
    .Also known as an orphan block is a block that has been dropped by the network.

  • How do stale blocks occur?
    .A stale block occurs when two blocks that have not broken any rules are accepted by nodes at the same time,when the network decides which one is going to be the longest chain the other is dropped and so becomes a stale (orphaned) block.
    .

  • Why is it important to wait for more than one block to be confirmed when sending or receiving a transaction?
    .it is important to wait so that your transaction doesn’t end up in a stale block,you should wait up to 6 blocks to confirm.

1 Like

-When 2 miners solve a block simultaneously, the block with the longest chain wins and the the shorted block is dropped and considered a stale or orphaned block. The dropped block of transactions are returned to the mempool.
-A stale block is the block that was in the blockchain but then dropped because another block that was produced at the same time was part of a longer chain.
-Stale blocks occur when a block was valid for a while because 2 were produced with the same version of the truth but then dropped because the new blockchain continued on another different block.
-It is important to wait for 6 confirmations to be sure that the blockchain of transactions that are in is not dropped from the chain.

1 Like

1 There will be 2 versions off the truth. And the chain that will be longer than the other will prevail and continue as the only blockchain. The other one will be erased from the blockchain. The stale/ orphaned blocks.
2 A stale block is a block that is rejected by the network because it is part off the shortest chain.
3 see question 1
4 To make sure that your transaction is part off the last and final version off the blockchain. As it is possible to have multiple correct chains. But the more time will pass the higher the change your transaction will be in the correct chain.

1 Like
  1. Both blocks are valid and are introduced to the chain, but the longest chain will always be accepted first.

  2. A stale block is a block that was part of the shortest chain, which later was transferred to mempool.

  3. They occur when two miners have mined a valid block at the same time.

  4. It is important because that way you’ll have to wait for 6 other confirmations, so that the block with your transaction doesn’t get dropped from the chain.

1 Like

From the perspective of the user, one must wait for more than one block to get mined in case his transaction is not part of a stale block. After 6 confirmations (new blocks) the probability of your transaction becoming stale is minimal.
From the perspective of the miners, they are not aware of the other block existing and treat the block they received as being the correct block. So they continue to mine on their version of truth until they get notified a longer chain exists. At that time they will drop the block and continue mining on their new (correct) version of truth. :slight_smile:

  1. The chain forks temporarily
  2. A block that send back to the mempool in favor of chain with more proof of W
  3. After a fork. Its the block with the shorthest chain.
  4. How more confirmation how better. Someone could maybe double spend his utxo.
1 Like
  1. What happens in the bitcoin network when two miners solve a block at the same time?
    Answer - in this case, the bitcoin network will pick up the version of the blockchain that happened to be the longest one since there more miners happened to follow it and created more blocks. The block that by fate happened to be part of the shortest version is going to be invalidated.

  2. What is a stale block?
    Answer - the block that was invalidated due to the fact that it found itself at the version of the blockchain that is smaller in quantity of the blocks (as per the answer above).

  3. How do stale blocks occur?
    Answer - this happens when the bitcoin network will pick up the version of the chain that belongs to the ‘branch’ that happened to have more blocks/more miners that appended their blocks to it (the longest version of the blockchain). The block that by fate happened to be part of the shortest version is going to be invalidated and it is called a “stale”.

  4. Why is it important to wait for more than one block to be confirmed when sending or receiving a transaction?
    Answer - because after reaching 6 confirmations and elapsing of 10 minutes the system is synced properly and the ‘ultimate version’ of the hash is being determined and followed by other miners, continue creating the longer (longest) version of the blockchain.

1 Like
  1. When two miners solve a block at the same time both blocks are valid until the next block is mined and the next successful miner chooses between the blocks or enough of the network agrees on one of the blocks.
  2. A stale block is a block that was in the chain temporarily but later removed in favor of another block with a longer chain.
  3. Stale blocks occur when two miners reach below the target nonce at the same time and begin propagating their unique blocks throughout chain through the nodes closest to them. The time that it takes to spread through the blockchain from different parts of the planet can cause competing versions of the block until one is discarded by the network, this discarded block is an orphan or stale block.
  4. A confirmed transaction can be later discarded by the network if it is not chosen in subsequent blocks by the entire network. A node with different transactions will eventually catch up to the network consensus and orphan any stale blocks.
1 Like

1- When 2 miners solve a block at the same time, you temporarily have 2 versions off the chain, the system will eventually adopt the longest and the block that was appended at the same time will eventually be orphan and the tx. in that block will go back to the mempool.
2- A stale block is a block that has been dropped and the tx. in that block put back in the pool.
3- A stale block occurs when 2 miners append a block to the chain at the same time if no other block is appended to the competing block but the other block continue to be part of a longer chain, the shorter becomes stale.
4- The system will accept the longest chain and if your tx. is on the longest chain you are good to go. So one has to wait for the direction of the chain to be confirmed.

1 Like

When two miners solve a block at the same time, different nodes will have different versions of truth. Now there would be 2 versions of the block chain. The miner who solves the next block and propagates it through the network first will create a longer blockchain. The longer blockchain is always chosen. The other miner’s block would be dropped.
A stale block is a block that was once part of the blockchain and then was dropped.

As mentioned above, the block becomes stale when there are 2 different versions of the blockchain and new blocks are added to one of the versions. The other one which didn’t get new blocks added fast enough gets dropped and becomes stale.

It is important to wait for more than one block while sending or receiving a transaction to make sure that our transaction is actually confirmed in the block and not dropped.

1 Like
  1. the blockchain branche out in two direktions

  2. its a block that have bin in the blockchain but is dropt out of it

  3. then one of the branches becomes longer then the outher the sort one get deleted

  4. becouse if a stailblock happens it can deturmen whits is longer esely

1 Like
  1. What happens in the bitcoin network when two miners solve a block at the same time?
    there is now 2 version of the blockchain, 2 version of the truth, the next block will define which one is preserved and which one is rejected as a stale block, from the stale block, all the transactions will revert back to the mempool.
  2. What is a stale block?
    a rejected valid block
  3. How do stale blocks occur?
    when a new block is created not using this stale block hash, therefore it is rejected because the longest blockchain do not account for this stale block hash.
  4. Why is it important to wait for more than one block to be confirmed when sending or receiving a transaction?
    you want to wait for the next 6 block to make sure that your transaction is validated, this minimize the risk that your transaction is in a stale block
1 Like

1. What happens in the bitcoin network when two miners solve a block at the same time?
The block will be distributed to the other nodes. The next miner will choose a block he received and will add his new block on that one. The chain with the most proof of work will be considered the truth

2. What is a stale block?
This is a confirmed block not added to the blockchain

3. How do stale blocks occur?
They occur when the miners are not fast enough to add blocks on the blockchain. As soon as two miners add a block to the blockchain the chain will split. In this way new miners have to choose on which block they continue adding blocks. When the other chain is longer, the block with the shortest chain will drop.

4. Why is it important to wait for more than one block to be confirmed when sending or receiving a transaction?
This is because there could be a chance that your transaction will end up being an orphan block.

1 Like

The longest chain will be accepted by the network. The dropped block is a stale block :confused:
Stale block happen when two blocks are mined at the same time. It is important to wait for several confirmation to ensure your transaction is incorporated within the chain and not dropped within a stale block.

1 Like
  1. When 2 miners solve a block at the same time both blocks are presented to the blockchain and when another miner completes the next block and adds it to one of the two blocks creating a longer block the other block is dropped and all of its TXs are returned to the mempool.
  2. A stale block is a block that has been dropped from the blockchain because of the previous reasons described in answer 1 above.
  3. Stale blocks occur when 2 blocks are solved at the same time but only 1 can be added to the blockchain described in answer 1 above.
  4. It is important to wait for more than 1 block to be confirmed when sending or receiving a transaction in case the first block is stale.
1 Like
  1. the longer block will win the other one will be dropped and it is known as a stale or orphaned block.
  2. it is a shorter block that is dropped by the blockchain as the blockchain keeps the the longer one that has the truth version accepted by the decentralised nodes.
  3. This happened when the blockchain leaves out a block each ten minnutes with six confirmmations before the propagation on the network.
  4. It is about making sure that the chain has been accepted by decentralised network and the longest blockchain is accepted as it contains the truth and the miners extend time while reesolving the nonce for the next block.

Actually we want to make sure our tx is not in that block :slight_smile:

1 Like

Blocks get propagated to the network as soon as they get mined so miners can start working on the next block as soon as possible.
Stale blocks occur when two miners mine a block at the same time and we must wait for 6 confirmations in case out tx is part of the block that will eventually get dropped. :slight_smile:

1 Like