Homework on Stale Blocks

  1. there will be two different blockchain

2.3. Is a block that is dropped from the 'chain because it was mined at exactly the same time of another block and the miner who solve the next block choose the other version of the blockchain

  1. so that the entire network have the same version of the blockchain
  1. There will be two appended block. Later next miner will take which one to continue and determine the longest chain.
  2. Dropped block
  3. see no 1.
  4. Basically its the time to ensure all the nodes has been updated with the latest chain.
  1. What happens in the bitcoin network when two miners solve a block at the same time?
    Which of the two blocks is kept on the blockchain will be determined by the next block, the other block will be dropped.

  2. What is a stale block?
    A stale or orphaned block is a block which isn’t picked up by the miner which adds the next block to the blockchain. The transactions not included in the chosen block will go back to the mempool.

  3. How do stale blocks occur?
    They occur when to miners solve a block at the same time. Both blocks have correct transactions and nonces, but only the block picked up by the miner of the next block will be kept on the blockchain.

  4. Why is it important to wait for more than one block to be confirmed when sending or receiving a transaction?
    Stale blocks is the reason. If there are a few blocks after the one with your transaction, you can be pretty sure that your transaction has gone through and won’t be dropped.

  1. when two miners solve a block at the same time, the next blocks after them will determine the validity , because longer chain will be accepted. The shorter chain will go back to Mempool.

  2. Stale block is block which are dropped because they were in the shorter blockchain.

  3. Stale blocks occurs when two miners solve valid blocks at the same time , then dropped by network because another miner continues on blockchain on and one of them became longer block chain.

4.It is important to wait for more than one block to be confirmed when sending or receiving a transaction, because the decentralised network will accept longer blockchain in case where two miners producing new blocks at the same time. it is proper to consider your transaction is done after 6 blocks.

2 Likes

1. What happens in the bitcoin network when two miners solve a block at the same time?
It occurs a temporary fork until the network confirmed which chain is longer (6 confirmations are needed) then the longest win and the shorter gets dropped.

2. What is a stale block?
A block that was in the blockchain but got excluded because after 6 confirmations it had a shorter version of the chain.

3. How do stale blocks occur?
When to miners solve a block at the same time but one has a longer version of the chain.

4. Why is it important to wait for more than one block to be confirmed when sending or receiving a transaction?
Because it can get confirmed and then rejected since there is a longer version of the chain and the block got stale.

  1. Two different blocks are joined to the blockchain at the same time.

  2. A stale block is a block that was initially propagated throughout the network but was later cast aside and its transactions sent back to the mempool to be re-mined.

  3. Stale blocks occur when two blocks join at the same time and send their version of the blockchain throughout the network. Eventually one block will become stale when the next block is mined. The block that is not joined onto will become stale or orphaned and all its transactions sent back to the mempool.

  4. So that you can be confident your transaction is not part of a stale block.

  1. both blocks get added to the chain.

  2. a stale block is a block that got dropped from the chain.

  3. If two blocks successfully find a nonce at the same time, they both get added to the chain. However, the next block will append at random to one of those blocks, rendering the other block a part of a smaller chain. That block is then considered stale, and is dropped from the chain. Transactions are returned to the mempool.

  4. You want to make sure that your transaction doesn’t end up in one of the stale blocks that gets dropped. It’s generally considered safe to assume your transaction is in the main chain for good after 6 blocks have followed it (6 confirmations)

  1. Both versions of the blockchain are accepted and propagated throughout the network, until the next block is found, which will have only one of these versions in it. The other version of the blockchain one is then considered invalid.

  2. Stale or orphaned blocks are the blocks that got added in a blockchain that later was not continued, as described in 1. The transactions (UTXOs) in these stale blocks that haven’t been confirmed yet in the valid chain are then returned to the network’s mempools, and will be confirmed in the continued mining.

  3. They occur when blocks are mined at the same time but then end up being part of a invalid version of the blockchain, as described in 1.

  4. Because this drastically lowers the chances of the transaction being part of a block in a version of the blockchain that gets discontinued and declared invalid. The more blocks are confirmed and added after a certain transaction was confirmed, the higher the chance that the transaction will never be declared invalid / part of a stale block, as all the next blocks include this transaction as a immutable, essential part of the blockchain from then on forward.

  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, there will be two versions of truth on the network.

  1. What is a stale block?

A stale block is a block which is no longer part of the current blockchain.

  1. How do stale blocks occur?

As there are two versions of truth on the network, only one can be appended even as both are valid. Newer nodes on the network continue to search and select the longer chain of the two before appending new blocks to it.

As such, the remaining blocks are no longer part of the current blockchain. They are deemed stale blocks after their version of truth is overridden by the longer chain. Their transactions are returned to the mempool to be picked up in a future block.

  1. 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 more than one block to be confirmed when sending or receiving a transaction because there is greater certainty for the transaction to be validated. The transactions in the block of the longer chain are added and not discarded.

1 Like

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

The one with the longest chain wins.

All transactions on the stale/orphaned block will go back to the mempool.

What is a stale block? / How do stale blocks occur?

It is when 2 miners mine a block at the exact same time thou only one can be appended to the blockchain and the other becomes stale.

After network consensus has been reached, the one with the shortest chain will become stale. All transactions within the stale block will head back to the mempool.

It is important to wait for more than one block to be confirmed to ensure that your block is used and not dropped from the blockchain.

Yes, the recommended time frame is 6 confirmations to ensure that the block is appended to the blockchain and has not become stale.

  1. Both miners will propagate their blocks through the network at the same time, causing two versions of the chain. In the end, the chain which is the longest will win and blocks in the losing chain are then rejected and transactions are returned to the mempool.

  2. A stale block is a perfectly valid block which was on the blockchain for a period of time but was then later rejected as another version of the blockchain was longer without that block in it. The transactions within that stale block are then returned to the mempool.

  3. Stale blocks occur when there are two versions of the blockchain circulating throughout the network at the same point in time. The miners responsible for mining those blocks are competing against each other to append their block first, so essentially which ever block is appended first and the next miner chooses to mine off will be the version of the blockchain with the longest chain so that is the one that will be accepted as the single version of truth and the version that the stale block was on is rejected and that block becomes invalid and is known as the stale block.

  4. It is important to wait because of stale blocks. There is always a possibility that due to a time lag when propagating a block through the network that some other block was propagated faster and has already been appended to the chain and subsequent blocks are being mined based on that block. Due to this phenomenon, when sending or receiving a transaction it is important to wait for more than one block to be confirmed because that is confirmation in itself that the block containing the transaction has been validated by the network and is operating within the longest, most appropriate version of the blockchain.

  1. There will be 2 blocks of truth and the following blocks will be competing in which block will be really confirmed and not be the stale block.
  2. A stale block is a block which was competing to another block because 2 blocks were solved at the same time, but the following blocks were appended to the other block so the block were the blocks were not appended to will drop and is called the stale block.
  3. If a 2 miners have solved a block at the same time and they spread the block to the nodes at the same time.
  4. Because your transaction might be in a stale block, this means that your transaction might be reversed and you have to wait for a longer period of time.
  1. Each are attached to chain but the longest chain wins and gets appended to blockchain while the other one gets dropped.

  2. Stale Block is a block that was not part of longest chain and was discarded.

  3. When multiple miners solve the puzzle at same time. then the one whose puzzle is further solved as a next block gets appended to blockchain while the other one gets discarded, making it a stale block.

  4. To reduce probability of our block becoming a stale block.

  1. Two different blockchains get propagated through the system (they are identical except the last block). This is called a fork.

  2. Stale or orphaned block is a block that was in a blockchain that got dropped. Its transactions get returned to the mempool.

  3. They occur when two or more blockchains (forks) are being propagated simultaneously. When one gets picked from the next miner to add the next block to it the other blockchain(s) will then get dropped. (the longest chain is the valid one; wins)

  4. It is important because the block with that transaction could become a stale block.

  1. it creates a second blockchain
  2. dropped blocks that have been reverted back to the mempool
  3. if the block time is too slow or if there is a split in the chain and the longer chain has been accepted causing the blocks in the shorter chain to be dropped. thus creating stale or orphan blocks.
  4. because after 6 confirmation your tx is secure and the block cannot be dropped
  1. a fork is created, two chains are mined independently, the longest one will win and will then be considered as the main chain.

  2. it is a block of the shortest chain due to a fork

  3. They occur when 2 blocks are mined in the same time in two different places of the network.

  4. It is important to wait in order to verify that our transaction has not been part of the stale block.

  1. What happens in the bitcoin network when two miners solve a block at the same time?
    There are two versions of the blockchain that get passed on to the nodes on the network.

  2. What is a stale block?
    A block that was part of the blockchain but no longer is.

  3. How do stale blocks occur?
    They occur by the other version of the blockchain being worked on at the same time by other nodes and one of those miners adding to that version. Then that version of the chain becomes longer so the consensus is that the longest chain continues to be worked on while the other version is dropped.

  4. Why is it important to wait for more than one block to be confirmed when sending or receiving a transaction?
    So that we are certain that the block that was added continues to the be in the longest chain, thus not becoming stale and remain valid.

1 Like

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

The longer blockchain will win out and the shorter one will be dropped and be returned to the mempool.

2. What is a stale block?

A block that was dropped because it was part of a shorter chain that temporarily forked off until the longer chain won out.

3. How do stale blocks occur?

Stale blocks occur when two miners solve a block at the same time without knowing of the existence of the other. The shorter chain becomes the stale block and is returned to the mempool.

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

It is a best practice to wait for six confirmations so you know for sure you are on the longest chain and you are not part of a stale block.

1 Like

What happens in the bitcoin network when two miners solve a block at the
same time?
The chain forks into 2 until one of the chains becomes longer which will become accepted as the continuation of the chain. The other fork will be discarded.

What is a stale block?
This was a valid block in the chain but was later discarded

How do stale blocks occur?
When a different for of the blockchain becomes longer and invalidates this one.

Why is it important to wait for more than one block to be confirmed when
sending or receiving a transaction?
To ensure the block with your transaction does not become stale.

1 Like
  1. This creates two versions of the truth. A few minutes later one of these versions will be chosen by the upcoming blocks.
  2. The stale block is the version of the truth that was not chosen by the new block. The stale block gets sent to the mempool to wait in line again to be picked by a miner.
  3. Stale blocks occur when the chain splits because of two miners completing a block at the same time. One of these blocks will continue the chain when new blocks add on to it, meanwhile the other block that was not chosen by the new blocks will have less POW so it gets sent to the mempool. That is the stale block.
  4. That’s because when the block is deep in the chain by at least a few blocks, we know that it will not be changed. It is a confirmed transaction. That is why it is recommended to wait 10 min or a few blocks to make sure a transaction is confirmed.
1 Like