Homework on Stale Blocks

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

Both blocks wil be added to the blockchain, the next miner choses one of them and the other one will be dropped.

  1. What is a stale block?

A stale block is a block that was in the blockchain once, but was dropped because the competing block was accepted by the network.

  1. How do stale blocks occur?

When blocks are added to a blockchain at the same time.

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

Because there is a possibility that a slate block might occur and the transaction in that block could be returned back to the mempool.

1 Like
  1. Two genuine blocks are generated.
  2. A block that was mined but is not added to the current longest block chain.
  3. Due to a time lag in acceptance, the block is not validated into the blockchain network. Another block also successfully mined was added to the blockchain first.
  4. Because it avoids the occurrence of Dropped blocks (Orphaned or Stale blocks).
1 Like

It doesn’t prevent the occurrence of stale blocks, it merely insures your tx is not part of it :slight_smile:

  1. The chain will fork and as the network updates miners will select a branch to build on and after an hour the longest branch will be kept while the shorter branch will be discarded.
  2. A stale block is a block that has been discarded from the blockchain.
  3. When the blockchain forks as a result of simultaneous or near simultaneous succesful hashing of a new block.
  4. The longer you wait the less chance of your transaction being part of a stale block.
2 Likes

1.) There are two versions of the blockchain now. The version of the two, where another miner adds a block, is now the longest in the system and becomes the legit. The shorter chain/blocks will be removed and transactions pulled back to the mempool.

2.) Stale or Orphan blocks are the ones that got not acceptet because they are in a shorter Version of the blockchain. They are in the Blockchain for a short time and gets removed than.

3:) When two miners create the same block in an equal time. There are two versions of blockchain now, the lager would be accepted and the shorter version got this stale blocks.

4.) Because your transaction can be part of a stale block. Waiting for 6 confirmations is good in a system like bitcoin.

1 Like

Thank you for the clarification :+1:

  1. The chain can fork temporarily when a block is solved at the same time, but only one will be appended to the network.

  2. A stale block is a valid or “true” block produced by a miner that is picked up by the closest nodes, but without confirmation, will be discarded and transactions put back in the mempool.

  3. The network only accepts the longest blockchain. The block may temporarily form two different “truths”, but only one can be propagated through the network.

  4. Waiting for more than one confirmation ensures that your transaction gets through, and reduces the odds of stale blocks occurring.

1 Like
  1. What happens in the bitcoin network when two miners solve a block at the same time?
    When this happened the shortest one will be disregard the shortest block and add the longest block.

  2. What is a stale block?
    Orphan Block or stale block are blocks that are not accepted to Blockchain

  3. How do stale blocks occur?
    Two miners are mining for the same block one of them will be stale block.

  4. Why is it important to wait than one block to be confirmed when sending or receiving a transaction?
    it is important to wait just in case of stale blocks and wait for 6 confirmations.

1 Like

1. What happens in the bitcoin network when two miners solve a block at the same time? when this kind of situation occurs it will be decided by the blockchain to go with the longer, the longer always win.

2. What is a stale block? a stale block is a valid block that is dropped and all of the tx’s go back to the Mempool.

3. How do stale blocks occur? when 2 miners produce a valid block, there always be one winner, one blockchain and the winner is the longer chain, and then the other block that got mined will be dropped.

4. Why is it important to wait for more than one block to be confirmed when sending or receiving a transaction? because when you wait 6 confirmation it means there are another 6 blocks created to that blockchain, and it minimize the risk of a stale block from occurring

1 Like
  1. The Block in the Longest chain is considered valid and other block is released from the blockchain and transactions are sent to Mempool.
  2. A valid block with lowest hash that is released when it is not part of Longest chain.
  3. When 2 miners able to get a Valid Block at the same time and connect to blockchain but one that is not chosen by the next block to form a long chain is called stale block and the block and transactions will be released.
  4. 10 mins is needed so all nodes get the next valid block and no block is left as Stale.
1 Like
  1. What happens in the bitcoin network when two miners solve a block at the same time?
    The longest block will win
  2. What is a stale block?
    dropped block
  3. How do stale blocks occur?
    When 2 blocks are competitioning to be in the blockchain the one who loses is a stale block
  4. Why is it important to wait for more than one block to be confirmed when sending or receiving a transaction?
    Than you now for sure the transaction you are working on will be 100% taken by the blockchain.Wait 6 blocks are standard.
1 Like
  1. What happens in the bitcoin network when two miners solve a block at the same time?
    One of the blocks will be dropped.

  2. What is a stale block?
    A stale block is a valid block that is dropped from the blockchain.

  3. How do stale blocks occur?
    Stale blocks occur because two or more valid blocks are being produced at the same time and eventually only one block is accepted.

  4. Why is it important to wait for more than one block to be confirmed when sending or receiving a transaction?
    This is to prevent stale blocks from occurring.

1 Like

1.When 2 miners turn out a block at the same time, the one with the longest chain is the one that stays, the other one is discarded and all transactions go back to mempool.
2. Stale block is a block that was in the block chain but was discarded because the block created at the same time has a longer chain.
3. Stales blocks occur when a block was valid for a time at the same time as another block and the chain continued with the other longer block.
4. It is important to wait 6 confirmation because your transaction can be in a Stale block and be discarded.

1 Like

it doesn’t prevent the occurrence of stale block, it ensures your transaction isn’t part of it.

1 Like
  1. What happens in the bitcoin network when two miners solve a block at the same time?
    If two miners solve the hash at precisely the same time then the miner with more network connections to the bitcoin network or other criteria will get accepted by the network first. One will become accepted by the network and the other will be discarded.

  2. What is stale block?
    Orphan blocks , often referred to as stale blocks , are blocks that are not accepted into the blockchain network due to a time lag in the acceptance of the block in question into the blockchain.

  3. How does stable blocks occur?
    An orphan block, or detached block, is a valid block that is not part of a blockchain. This event occurs when two miners produce valid blocks a similar times. The miner whose block is produced later or that propagates slower ends up with the orphaned block.

  4. Why is it important to wait for more than one block to be confirmed when sending or receiving a transaction?
    It’s best to have 6 confirmed transactions so that your block doesn’t get dropped from the chain.

1 Like
  1. Eventually a new block will be mined and attached to one previous block or the other. Nodes will accept the block with the longest chain following and reject any smaller, competing chains.

  2. A rejected block.

  3. When a block is solved at the same time as another block, creating the scenario outlaid in the first question.

  4. Because it is possible a transaction is attached to a stale block or a blockchain built on a stale block that will end up getting rejected.

1 Like

1. What happens in the bitcoin network when two miners solve a block at the same time?
Both blocks are valid and will be appended to the Blockchain. From this point on, two valid chains will exist.

2. What is a stale block?
A valid block that is dropped because he was appended in the shorter chain. Their transactions will go back into the mempool.

3. How do stale blocks occur?
They occure when two valid chains ste present. One of them will be removed. Miners will append more blocks to one of the valid chains. The faster growing chain will win. All blocks in the other chain will be removed - the so called stale blocks.

4. Why is it important to wait for more than one block to be when sending or receiving a transaction?
To avoid that your transaction is sitting in a stale block that will be dropped. If one waits for six confirmations, one can be shure that the transaction sits in the longer chain that is accepted by the network.

1 Like
  1. The chain forks temporarily into 2 valid chains
  2. A stale block is one of the two blocks of the miners which solved a block at the same time. In particular is the one which will be dropped because the next miner will decide to append his block to the other end of the forked chain. The longest blockchain is always the one that prevails.
  3. A stale block occurs when a block was valid for a while before being dropped.
  4. Because it is possible that the chain is forked and that the block in which the transaction is included will become a stale block. 6 confirmations should be enough.
1 Like
  1. When two miners try to solve a block at the same time, both miners compete for whos blockchain gets blocks added quicker. Whoever can show more PoW wins to losers get dropped with its transactions sent to wait in the mempool.

  2. A stale block is a block that lost the race and could not show enough PoW to remain on the blockchain

  3. Stale blocks occur when two miners try to solve a block at the same time :smile: communication delays based on where you are geographically

  4. Its important to wait for more than one block to be confirmed when sending and receiving TXs to minimize the issue with orphaned blocks and the different versions of truth out on the network

1 Like
  1. blockchain split to two chains, but only the longer chain will be choosen
  2. stale block will be the shorter block and will be dropped out
  3. when there is multiple miners mining same time valid blocks
    4.in case of a stale block occurring
1 Like