Homework on Stale Blocks

  1. The chain will fork temporarily and create an orphan block. All transactions that occur in the orphaned block will be returned to the mempool.
  2. A valid block which has been dropped due to another block simultaneously being created and successfully extends the chain first.
  3. See 2
  4. To ensure your transaction is not in a stale block and gets dropped back to the mempool.
1 Like
  1. What happens in the bitcoin network when two miners solve a block at the same time?
    There are 2 chains until one of the chains get new block and they propagate, the block from the shortest chain will be dismissed, or ‘orphaned’, where transactions go back into mempool.

  2. What is a stale block?
    A stale block is a block that gets discarded as a result of the network moving to another chain with more POW in a situation where 2 miners appended 2 different blocks to the network.

  3. How do stale blocks occur?
    In a situation where 2 miners appended 2 different blocks to the network. creating 2 chains temporarily. When one of the chains become main chain by other blocks being mined to it thus creating a chain with more POW, block from the ‘shorter’ chain will get discarded and transactions will go back into mempool.

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

Because there is possibility that our transaction that might appear confirmed is part of the stale block and gets rejected.

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

  2. What is a stale block?

  3. How do stale blocks occur?

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

  5. There will be two similarities truth begin pyschaly sent throughout the chain, from node to node. The closest node promxied for the next transaction is picked then it wait to see if it makes sense to settle a consensus and the longest chain/pow “wins” resulting in “stale blocks”

2, a stale block or oprhange block (used interchangeable) is a block that was completely valid but got dropped because a other version of truth was made.

  1. It accures when to new blocks appears simultaneously before begin comfried by the six confirmation.

  2. Otherwise chaos would ensure and it be wildwestchain instead.

1 Like

The blockhchain will accept the block in the longest chain (of difficulty). The other block will be dropped en the transactions will return to the mempool.

A stale block is a dropped block. The transactions are valid. but the block was not in the longest chain.

Stale blocks occur when you have two the same blocks. The next block (longer in difficulty) connects earlier then another block to the same block. So the other block wasn´t fast enough and had not the longest chain was dropped by the network.

It is important to wait for more than one block beacause your transaction is really confirmed after 6 blocks. Then you are sure that your transaction will not be in a stale block. Your transaction is then in a block with the longest chain that wins.

1 Like
  1. The block that has the longest chain will be the accepted one. The other will be orphaned or stale.

  2. The stale block is the block that is not accepted. Like a fork in the road, one has a dead end, that is the stale block.

  3. Stale blocks occur when duplicate blocks are created and one is verified and continues the chain and the other is not, that is the stale block.

  4. It requires 6 confirmations to ensure the block with the transactions is not dropped.

1 Like

1.Both of their block will be add to the blockchain , one will be choose by the next miner,the other block’s TX will be dropped to the mempool.
2.The block once was add to the blockchain then dropped .
3.Cause 2 blocks were solved by 2 miners at the same time and one will be dropped later , the dropped block will become stale block.
4.to avoid 2 blocks competition

1 Like
  1. both blocks would be valid until the next block is mined. Whatever block the next miner chooses will become the longer blockchain. Thus, the version all nodes will accept.

  2. A stale block is a block where all transactions were invalidated.

  3. Stale blocks occur when an alternate chain becomes longer the chain in which the stale block is in.

  4. to make sure your transaction will not be in a stale block.

1 Like
  1. What happens in the bitcoin network when two miners solve a block at the same time? Both remain on the blockchain until another block is successfully added to one of them. Then the other block is dropped and all those transactions go to the mempool. The two blocks may not have had all the same transactions.
  2. What is a stale block? The block that is dropped because a subsequent block was not added is called a stale or orphan block.
  3. How do stale blocks occur? Another block is not added to them so that fork of the chain cannot be continued.
  4. Why is it important to wait for more than one block to be confirmed when sending or receiving a transaction? This ensures that your transaction is not included in an stale or orphan block and sent back to the mempool. Once more than one block is added the previous block is confirmed. Ideally the block is considered confirmed when six blocks have been added.
1 Like
  1. What happens in the bitcoin network when two miners solve a block at the same time?
    They are both appended to the blockchain and sent out to the nodes. The ultimate winning block is then chosen when the next miner appends the next block. Whichever blockchain has more proof of work in it is the chain that is ultimately accepted by the other nodes. The losing block is then dropped and the transactions go back to the mempool.

  2. What is a stale block?
    This is the block that is ultimately dropped in the previous question.

  3. How do stale blocks occur?
    When blocks are mined too fast for the system to propagate it to all the nodes before the next block is mined.

  4. Why is it important to wait for more than one block to be confirmed when sending or receiving a transaction?
    If your transaction happens to be in one of the dropped or Stale blocks, it will really not be confirmed until it is completely appended to the block after it has been confirmed by several nodes. It will risk showing up as an untrue transcation if it is only in one block and that block was dropped.

1 Like
  1. What happens in the bitcoin network when two miners solve a block at the same time? If there are two miners on the network who solve a block at exactly the same time both blocks will be propagated to the blockchain. In this case there are now two versions of the truth. However, if a third miner solves and adds his block to the blockchain before the previous two blocks have propagated through the network it is likely his block will attach to the one closest to his replication area. When that happens the network can see which chain is the longest chain and this will become the accepted version of the truth. In that case, the block that was not ‘confirmed’ will be dropped and the transactions in that block will return to the mempool for processing on a different block.

  2. What is a stale block? A stale block is one that has been rejected by the network. When that happens the transactions in that block are returned to the mempool.

  3. How do stale blocks occur? Stale blocks occur when a valid block is rejected by the network because another block was accepted in its place. This has to do with network propagation latency and is why bitcoin block time is 10 minutes. (or as close to that as possible).

  4. Why is it important to wait for more than one block to be confirmed when sending or receiving a transaction? Typically, when a transaction has been added to a block and a block has been added to the blockchain; we call this ‘confirmed’. In actuality, the best practice is to wait for 6 confirmations. This is because the block that your transaction is in could be dropped. Dropped blocks become stale blocks and your transaction would be sent back to the mempool in this case. (The 10 minute block time is there to minimize the frequency of stale blocks.)

1 Like
  1. What happens in the bitcoin network when two miners solve a block at the same time?
    Preference will be on the longer block and the other will become an orphaned block

  2. What is a stale block?
    A stale block is the shortest block that has become orphaned

  3. How do stale blocks occur?
    When two blocks get mined at the same time, the longer blockchain wins and the other shorter blockchain becomes “stale”

  4. Why is it important to wait for more than one block to be confirmed when sending or receiving a transaction?
    Because there is a chance that your transaction becomes “stale”

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

There will be 2 different version of the blockchain untill the next block is mined and gets appended to the blockchain. The network always choses the chain with the most POW

  1. What is a stale block?

A block that has been dropped in favor of a longer chain (more POW)

  1. How do stale blocks occur?

A block that is dropped when 2blocks get mined at the same time and the network continues with one of the 2

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

To be certain that the block will not be dropped by the chain resulting in loss of funds

1 Like

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

  • When 2 miners solve a block at the same exact time the longer block with the most POW (proof of work) will be accepted by the blockchain, at the same time, the shorter block will be discarded and become a stale or orphaned block and will be returned to the mempool.

What is a stale block?

  • They are the blocks that are in the blockchain for a time but were dropped because there is another version of the blockchain that is longer. They are the blocks that are not accepted because it has a shorter blockchain compared to its competing blockchain.

How do stale blocks occur?

  • This happens when there are two miners that solved the cryptographic puzzle at the same exact time and are valid. After which, the one with the shortest blockchain will be discarded and it is when a stale block occurs. A stale block is a block that is valid for a moment but was discarded because it has a shorter blockchain.

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

  • The best practice is to wait for 6 confirmations, in which, 6 more blocks are generated after your block to make sure that your transaction is not in the block that will be dropped.
1 Like

Waiting will not avoid block competition. It only ensures your tx is not part of a state block.

1 Like

You will have two versions of the blockchain, depending of who in the network you ask. The blockchain will be accepted with the longest blocks, the most PoW. So the version that gets the added blocks with the highest hash rate will be the true blocks. The other version will be pulled back to the mempool.

Staled blocks are blocks that were in the blockchain at one time, but got dropped because there is another version of the blockchain without those blocks in it.

Because the network need some time to sync the network when a new block is added, two miners solve different block at the same time, but not knowing the other one exists.

To ensure that the block you’re transaction is in, is not dropped from the chain.

1 Like

Waiting will not prevent or avoid stale blocks. It only ensures your tx is not part of it.

1 Like

Ah, you’re right. Thank you for your reply :pray:

  1. The largest chain network wins and the shortest chain network losses

  2. The shortest chain network block gets dropped because of the longest chain network block and this dropped network is called stale block

  3. Stale blocks occur when there is two different blocks of network in the blockchain system and the shortest one in the network will be dropped. This is how stale blocks occur

  4. So that your transactions dont get dropped

1 Like
  1. What happens in the bitcoin network when two miners solve a block at the same time?
    When 2 miners solve a block at the same time the block in the longest chain wins and the other block is discarded and considered a stale or orphaned block. All the transactions are returned to the mempool.

  2. What is a stale block?
    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.

  3. How do stale blocks occur?
    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 blockchain continued on another block.

  4. 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 for 6 confirmations to be sure that the block your transactions are in is not dropped from the chain.

1 Like
  1. The longer block in the chain “wins” and the other block is discarded and considered a stale block. The transactions in the stale block are returned to the mempool.
  2. A block that was in the blockchain but dropped because another block was produced at the same time, but was part of a longer chain.
  3. Stale blocks occur by having two valid blocks produced at the same exact time with the same version of the truth, but one of the blocks get dropped because the blockchain continues on another block that is longer.
  4. It is important to wait for more than one block to be confjrmed to ensure that the block your transactions are one are not dropped from the chain.
1 Like