Homework on Stale Blocks

1 - there are two versions of truth in the network, the next miner to mine the next block will determine which previous block will be appended to the blockchain based on the one it chooses.

2 & 3 - It is a block that is left from a situation where there were two blocks solved at the same time and the next miner has chosen the other block, one block (the longest) gets appended to the blockchain and the other is a stale block

4 - to minimise the risk of your block being dropped because of the situation mentioned above

1 Like
  1. What block gets built on is decided by the network and the other block become stale.

  2. A stale block is a completed block that is waiting to be confrimed but is not chosen by the network. the transactions are put back in the mempool.

  3. When two blocks are completed at the same time and the network chooses one of the other. The block not chosen and not built upon becomes stale and the transactions are put back in the mempool.

  4. Because if your transaction gets caught in a stale block, there will be a delay in processing as your transactions would go back into the mempool to be mined all over again.

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

One of the blocks become stale

  1. What is a stale block?

A valid block that is dropped

  1. How do stale blocks occur?

When 2 miners solve a block 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 you can geta confirmation from a stake block before it becomes stale

1 Like
  1. This creates two truths. The truth that will be upended will be the one with the longest chain of blocks preceding the initial block

  2. A stale block is a block that has transactions that have yet to be upended to the block chain.

  3. stale blocks occur when there are two truths but one of the truths drops back into the mempool for reverification.

  4. It is important to wait for more than one block confirmation because the initial block may become stale and return back to the mempool for reverification. A rule of thumb is to wait for 6 other confirmations to consider it “confirmed”.

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

  2. What is a stale block?
    A stale block refers to the the block in the chain that is not propagated by the next Block in the chin making it invalid.

  3. How do stale blocks occur?
    When the next block is mined uses different valid block in creating the next block making a longer chin and making the unchosen block a “stale block.”

  4. Why is it important to wait for more than one block to be confirmed when sending or receiving a transaction?
    A transaction my be in valid because it was part of a stale block so you will not have the available BTC to spend creating an invalid transaction.

1 Like

1- The separate blocks are adopted by various miners, and two parallel blocks are worked on until a miner mines the next block (effectively the previous block becomes a double block). The first of the parallel blocks to have the next block solved becomes the accepted block as it is the longest. The other block is orphaned, and the transactions returned to the mempool
2- It is the orphaned block that is not accepted, and has it’s transactions returned to the mempool
3 - Stale blocks occur when two miners solve a block at the same time. The one that has the next block solved first becomes accepted, the other becomes the stale block.
4- It is customary to await at least 6 confirmations so that issues to do not arise from orphaned blocks.

1 Like

Actually the block is valid and technically remains valid, it just gets dropped because of the longest chain rule.

You mean if you want to create a tx from the output you just received? :slight_smile:

1 Like
  1. Eventually only one of them will win which is typically the the longer blockchain.

  2. This is the orphaned block from the miner with the shorter blockchain which has been invalidated or dropped because another block was accepted by the nodes instead.

  3. By two or more versions of the “truth” or blockchains being propagated or possibly a block being produced prior to the 10 mins. Only one will be accepted, the others become stale blocks.

  4. Because the transaction can be orphaned or stale and you won’t know until you have enough confirmations

1 Like
  1. The longest chain will win and shorter chain will go back to the mempool.
  2. The stale block is the valid block but rejected by the blockchain.
  3. Stable block occurs due to solving two blocks in the same time.
  4. It is possible to two chains happened in the same time, and your transaction may go back to the mempool.
1 Like
  1. both get broadcasted to the network. the chain wirh morn proof of work will eventually be accepted.
  2. ah valid block which has been dropped bc it is not part of the longest chain…
  3. when two valid blocks are created at the same time and then not all.miners produce new blocks on the same chain. eventually the longer chain will win
  4. theoretically morn then one block could be mined at the same time. but after several confirmed blocks chances are high that one chain will be longer and that the whole network confirm that chain.
1 Like

1.) When two miners solve a block at the same time both blocks are added to the block chain but the network will choose either of the 2 blocks and typically the one with the longer chain. Once nodes discover the block with the longer chain the network by default will choose the longer chain with more confirmed blocks.
2.) A stale block or orphaned block is a block that was in the blockchain at one time but was dropped because there is another version of blockchain that is longer without those version of the blocks in it.
3.) A stale/orphan block is a valid block dropped from the blockchain because the network chose to proceed with the block with more confirmed blocks in the chain.
4.) The importance of waiting for a 6 block confirmations as a rule of thumb when sending or receiving a transaction is to reduce the likeliness of your transaction being included in a block that could be dropped.

1 Like
  1. Will be 2 versions of a identical blockchain , 2 valids chains with 2 valids ends.
  2. Stale block is a dropped block from the chain , going back to the meempool due the choose of a larger chain, not accepted byt the chain but valid.
  3. When 2 minners build a valid block , it occurs due the election of a longer chain, with a higher POW, by the Network.
  4. Is necesary wait to be sure not ge tinto the dropped versiĂłn of the chain. For that is important to follow the rule of 6 confimation previous to come after a block.
1 Like

1 both blocks are valid, but only one will be in the longest difficult blockchain and what that happens the short one will be invalid.

2 the stale blocks are also called orphans and are the blocks that have been invalidated because they were not in the longest blockchain.

3 when they are invalidated.

4 to be sure the block in which tour transaction is included is not in a stale or an orphan block.

1 Like
  1. What happens in the bitcoin network when two 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 and its transactions are returned to the mempool.

  2. What is a stale block?
    The block of the shortest chain after a fork, which then is moved to the mempool.

  3. How do stale blocks occur?
    This happens when two miners mine a valid block approximately at the same time.

  4. Why is it important to wait for more than one block to be confirmed when sending or receiving a transaction?
    Because its possible it can be a stale/orphan block, which is why is recommended to wait for 6 confirmations to be sure that the block your transactions are in are not dropped from the chain.

1 Like
  1. they compete to propagate their own blocks in order to be upended onto the blockchain before the other in which the unused block will become stale/orphaned

2/3. a block not chosen by the network that while true wasn’t propagated fast enough onto a long enough chain with enough PoW

  1. to mitigate problems with stale blocks. If too many blocks happen too soon the network cannot sync and determine the current iteration of the chain therefore the network keeps things to 10m in order to prevent this.
1 Like
  1. When 2 miners solve a block at the same time, both blocks propagate throughout the network and thus creates a situation wherein some nodes have a copy of the blockchain with the first miner’s new block appended on it, while some nodes have a copy with the other miner’s. The network responds only after a 3rd miner decides to append a block to his copy of the ledger (whatever one made it to him first), to which the network accepts and propagates in favor of a version of truth with the longest chain.

  2. A stale block is a block that was mined but never successfully appended to the blockchain and therefore gets dropped by the network

  3. Stale blocks occur from such situations described in the first question, when 2 competing versions of the ledger circulate through the network and must rule one out at some point, invalidating it and rendering any blocks not in the accepted version as stale.

  4. It’s important to wait to avoid the chance that your transactions get added to a block that becomes stale due to a competing version situation described above. It’s best to wait 6 confirmations.

1 Like
  1. Both blocks will be propagated throughout the nodes. Both blocks will be valid, but the subsequent blocks will then decide which chain is finally accepted. Because the longest chain will always be accepted as the valid one.

  2. Stale block are blocks that were mined and confirmed but had a competing longer chain which was confirmed later. This results in the stale block being dropped and thrown back to the mem pool. Such blocks are stale blocks

3)Describes in 2.

  1. to avoid having stale blocks. The more confirmations the lesser the likelihood of stale blocks
1 Like

1. What happens in the bitcoin network when two miners solve a block at the same time?
after a few more blocks are solved whosoever chain is short gets discarded
2. What is a stale block?
a stale block is a block that has been put back in the mempool because another chain has more solved blocks attached to it
3. How do stale blocks occur?
stale blocks occur when two miners mine the same block at the same time, then after a few more blocks have been solved whichever miners chain is shorter gets discarded and those are now stale blocks
4. Why is it important to wait for more than one block to be confirmed when sending or receiving a transaction?
because somebody chain might be longer which means your block is invalid and you now have a stale block

1 Like

it is like somekind of fork but only temporary

a stale block is a block that got moved back into the mem pool because it was shorter that the one who got mined at the same time

a stale block occurs when 2 mining pools finish a block the one with the longer chain is the one who will stay

because if a stale block was minend, your transaction would not go thrue

1 Like

In the Bitcoin network, when two miners solve a block at the same time, the chain forks in two directions; two truths, until further notice.

A stale or orphaned block refers to when the chain forks, and a new block is added afterward. Whichever previous hash the hash of this new block was based on will be the block that is ultimately added to the chain. The remaining block (which still contains transactions, some of which have probably been verified on the other forked block, but some that are probably still waiting to be verified as well) is said to be stale, or orphaned, because all transactions that weren’t also a part of the other forked block are sent back to the mempool.

It’s important to wait for more than one block to be confirmed after you’ve sent a transaction because of the situation above. Your transaction could have been part of a forked block, and ultimately a stale block, and may be returned to the mempool. Waiting for a few blocks ensures that your transaction went through.

1 Like