Homework on Stale Blocks

The longest blockchain will win and the rest will returned to the mempool.

Stale Blocks are blocks that are no longer part of the current best blockchain because they were overridden by a longer chain.

When two miners mine a block at the same time.

To be sure that your transaction is not in a stale block

  1. the blockchain forks
  2. after a fork the longest chain in the network is valid. the blocks in the other chain(s) are discard. the discard blocks are the stale blocks
  3. after a fork of the chain
  4. because blocks can discard after a fork
  1. What happens in the bitcoin network when two miners solve a block at the same time?
    -Competition. Winning block will be the one which gets longer in terms of PoW.
  2. What is a stale block?
    -Block that gets dropped out of blockchain
  3. How do stale blocks occur?
    -When two miners solves a block at the same time and other one gets to be the truth so the other one gets denied.
  4. Why is it important to wait for more than one block to be confirmed when sending or receiving a transaction?
    -To be sure it will be chosen as part of the blockchain
  1. When two miners solve a block at the same time both blocks propagate through the network, but the next valid block produced determines which of the two original blocks will be accepted based upon which block the new block is hashed to.

  2. A stale block is a block that was valid, but abandoned because a new block was appended to a competing block, returning the transactions on the stale block to the mempool.

  3. A stale block occurs when a competing block has a new block appended to it before the block in question.

  4. It is important to wait for more than one block to confirm a given trx because it decreases the chances of being picked up by a potentially stale block.

  1. The blockchain will fork. Whichever fork becomes longer first, becomes the only fork and the other fork and its blocks are discarded as stale.

  2. A stale block is one which belonged to a discarded fork.

  3. Stale blocks occur as described in (1)

  4. To ensure that the block containing the transaction is not stale.

  1. Both blocks are appended to the blackchain. When another miner choses to append the new block to one of the previous blocks of the branch of the 2 simultaneous blocks, the network will choose the longest chain, discard the shortest chains and will send the transactions of the cancelled block back into the mempool.

  2. A stale block is a rejected block because the network chose the longest chain. It gets cancelled and the transactions fly back to the mempool for later processing.

  3. Stale blocks occur because both miners have mined a valid block at the same time and appended them to the blockchain in a form of 2 separate branches.

  4. Because it’s important that the new blocks are propagated throughout the whole network of nodes in order to achieve consensus and continue building new blocks. If blocks are created too fast, the network will clog up and more stale blocks will be created.

1 Like
  1. There will be two versions if the blockchain where the one with most PoW will win
  2. A stale block is a block with transaction that is accepted but later dropped because of ther might be two versions of the truth
  3. If two miners for example, get ther noice hash under the target at the same time and boath start so propagate ther block to the nodes. Then another miner might start to build a new block based on one of the version and he also get the noice hash right, then the other block might become stale if not he has other miners buildin on his block.
  4. Because it might be a accepted on a stale block.

One becomes stale and goes back to the mempool.

a block that was not processed and sent back to the mempool

A stale block becomes stale when it has been not accepted as part of the chain and sent back to mempool.

So that you limit the amount of orphans and gives the network time to share the updates.

  1. The miners will attach their block in the network and 2 versions of the Blockchain will be available, however only one version will be true and get the network consensus after a next miner attach his block either based on the v1 of blockchain or v2. The block excluded will now be a Stale or Orphaned block and have its transactions sent to the mempool.

  2. A block that was excluded from the Blockchain and had its transactions sent back to the mempool.

  3. Stale Blocks occur when 2 miners, Miner “a” and Miner “b” mine their blocks at same time and link them in the blockchain. If a next block get linked to Miner “a” block the Miner “b” block will be become a Stale Block, excluded and its transactions sent to mempool, the same situation if the next block is linked to Miner “b” block, therefore the Block “a” would be a Stale block.

  4. Its important to wait for 6 confirmations to assure that your transaction doesn’t belong to a Stale Block(Orphaned Block).

  1. Both were added to the blockchain and propagated through the network nodes.
  2. A stale block has been removed from the blockchain because there is an other longer blockchain
  3. As a result of question one.
  4. The transaction can be in a stale block and therefore needs to be written in a new valid block.

What happens in the bitcoin network when two miners solve a block at the same time?
One of those blocks will become a stale block that is dropped from the blockchain. The winner is based on which block gets incorporated into the next successfully mined block.

What is a stale block?
The block dropped from the confirmed blockchain because it was not part of the longest blockchain in terms of Proof of Work difficulty.

How do stale blocks occur?
Stale blocks occur when a block is successfully mined but does not become part of the longest blockchain in terms of difficulty.

Why is it important to wait for more than one block to be confirmed when sending or receiving a transaction?
Because the block may be part of a stale block blockchain, and six confirmations are enough to determine if the block is part of the active blockchain.

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

Both chains are valid untill miner nbr 3 adds a valid block to one of the chains, The longest one is the accepted ine by the network.

What is a stale block?
It is a block dropped from the blockchain and returned to the mempool.

How do stale blocks occur?
If 2 miners solving the puzzle at the same time, both chains are valid till miner nbr 3 adds the next valid block to one of the chains. The longest one validated by the network goes.

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

To make sure that your transaction not is dropped from the chain, you wait for 6 more blocks to be sure that your transaction (block) stays in the chain

  1. both blocks will be added, but only the one which will have further blocked linked to it will stay, because blockchain prioritizes longer chains of blocks
    2-3) A block which did not have any succeeding blocks after it and it is now abandoned by the blockchain
    4)Because your transaction might appear in a stale block and it will not go through
  1. When two miners solve a block at the same time, the miner with the block that has the longest chain wins. and the one that loses becomes a stale block.
  2. A stale block is the block that was originally in the blockchain but was rejected because another block with the longest chain mined at the same time has been admitted in the network instead.
    3.Stale blocks occur when two blocks are created at the same time by two miners in possibly two different geographical locations. Let’s say miner A is located in India and has mined a block with color green, and then another miner B in Africa has mined a block with color black. Newer blocks created will start linking the older blocks to form the chain. Those closest to each of the blocks will start joining them. Since a new block is created every 10 minutes on the bitcoin network, at the end of 10 minutes, the block with the longer chain will now be accepted in the network while the one that is rejected will become a stale block.

1.When miners solve a block at the same time they are both valid until another miner picks up one of these, this becomes the longer and valid blockchain

2 .A stale block is a temporary valid block which transactions are returned to the mempool

3.When miners create two valid blocks at the same time and one block or series of blocks are rejected then stale blocks occur

4.It is important to wait for confirmations at least 6 so you are confident that the blockchain has propagated the block globally and your transaction has not been returned to the mempool

  1. What happens in the bitcoin network when two miners solve a block at the same time?
    Two conflicting versions of the blockchain are propagated on the network. Subsequent additions will be made to the longest blockchain, in terms of PoW rather than number of blocks added, until there is consensus across the network as to which blockchain is valid. Once consensus is reached the all other blockchains are ignored.

  2. What is a stale block?
    A stale block is one that was appended to a blockchain which has subsequently been invalidated and dropped.

  3. How do stale blocks occur?
    Blocks will continue to be added to conflicting versions of the blockchain until such time as full consensus is reached across the network. Only blocks appended to the winning blockchain will be validated and those on the losing blockchain will become stale or orphaned.

  4. Why is it important to wait for more than one block to be confirmed when sending or receiving a transaction?
    To confirm which blockchain version has been accepted across the network. It is typical to wait for 6 confirmations before consensus is confirmed.

  1. They both go onto the network until one of the blocks has a new block added to it then the other block will be removed and the transactions in the removed block will go back to the mempool.

  2. A stale block are when 2 blocks are crated at the same time.

  3. When 2 blocks were created at the same time.

  4. To avoid a stale block that has your transaction in it returning to the mempool.

  1. whichever has the longest chain. The blocks that are not accepted become stale blocks
  2. Stale blocks are the blocks that get abandoned when another chain is created but not accepted as the “real” chain.
  3. Stale blocks happen when two miners solve a block at the same time.
  4. So it is safe to assume that the transaction you did in the block doesn’t become stale.

1. What happens in the bitcoin network when two miners solve a block at the same time?
Both blocks get attached to the previous block.

2. What is a stale block?
A valid block that has been rejected from the blockchain because the alternative chain has a longer size.

3. How do stale blocks occur?
When there is a competition between blocks, the next miner decides which one will be incorporated into the blockchain. The other block gets rejected and becomes 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 in which our transaction is might become a stale block.

  1. There are, temporarily, two versions of the blockchain.
  2. The block in the version of the blockchain that is, eventually, not chosen to continue as the accepted version.
  3. When the other version of the blockchain has another block confirmed, it becomes longer, and is then the accepted version. The block in the blockchain that is not longer, becomes rejected and transactions are returned to the mempool.
  4. To make sure your transaction becomes part of the accepted version of the blockchain and not returned to the mempool.
1 Like