Homework on Stale Blocks

  1. the next block will propagate on one or the other and the transactions in the orphaned block will return to the mempool.

  2. a stale block is one that is not built upon by the following blocks.

3.to allow the network time to establish correct history on chain.

  1. When two miners successfully solved a block at the same time, the blockchain will have two competing blockchains. Any subsequent block appended to either one of the chain, the most POW chain be adopted .The shorter chain with the lesser POW will be dropped and all the un-mined transactions in the block will be returned to their respective mempool to be pick up by miners again.

  2. Stale block or sometimes known as Orphaned block, are blocks that failed to make it to the blockchain even though they are valid blocks. They are blocks that lost out to the other competing chain.

  3. Stale blocks occur because they are unsuccessful in forming the next chain

  4. the importance for waiting out for more block confirmations is that successful blocks can still be dropped at the very initial stage. The more confirmations there are, the more assurance that the block has been adopted in the chain.

  1. Two valid versions of the blockchain come into existence. Nodes closer to one version will accept that as the truth.

  2. A stale block is a block, that gets dropped, meaning that no more blocks will be appended to it. Transactions from a stale block will be returned to the nodes or become invalid (Ivan said both things).

  3. When a blockchain splits into two versions, because of two miners simultaneously finding their block, and then the following block gets appended to just one of the two versions, the other chain ends there resulting in that one block being dropped. It becomes stale or orphaned.

  4. If the transaction gets confirmed by only one block, there is a chance that the block containing your transaction will get dropped. Waiting for several (ideally 6) blocks to confirm your transaction, makes sure your transaction actually belongs to the longest chain and will not be invalidated or returned to the mempool.

  1. Two competing longest chains appeared. Need to wait for the next block to break tie.

  2. It is the block with transactions being returned to mempool because another longest chain found.

  3. So that our transaction is not being rejected due to being mined into a stale block.

1, 2, 3. The bock that gets a new block added will be the winner since it becomes the longest chain, while the other block becomes stale and its TX’s will be dropped back in the mempool.

  1. To make sure all stale blocks are dropped. The network need time to update their copies of the network.
  1. the chain will split in 2 temporarily
    2.a block that gets put back in to the mempool
    3.when a block is added to one of a forked blocks the one thats shortest gets dropped creating a stale block
    4.so there not a chance of a block becoming stale

What happens in the bitcoin network when two miners solve a block at the same time?
The block becomes temporarily forked. The block that is picked up first and built upon becomes the longer chain and therefore the acknowledged truth. The other block is dropped from the chain and becomes invalid. Its transactions are returned to the mempool for processing.

What is a stale block?
A stale block is the duplicated block is one that has been dropped from the chain due to simultaneous processing but failure to build upon in a timely fashion to be come the recognized chain continuation.

How do stale blocks occur?
When 2 miners process a block simultaneously and temporary fork occurs. The chain will continue and recognize the longest part of the chain, therefore the block built upon first becomes incorporated in the chain and the one not built upon becomes the stale block. That block is dropped and its transactions return to the mempool for processing into a new block.

Why is it important to wait for more than one block to be confirmed when sending or receiving a transaction?
There is a chance that your pending transaction could be part of a simultaneously produced block scenario. If so, it could be that the block is dropped and becomes a stale block. These transactions are invalidated and sent to the mempool for processing again. 6 confirmations signify a confirmed transaction.

1 Nesse caso existirão duas versÔes diferentes da blockchain, que serão propagadas pela rede. Eventualmente uma das duas versÔes se tornarå mais longa, conforme novos blocos forem criados e de acordo com a versão adotada pelo minerador.

2 É um bloco que em algum momento foi considerado a versão correta da blockchain, mas por não fazer parte da versão mais longa foi desconsiderado pela rede.

3 Quando dois ou mais mineradores mineram seus blocos em tempos muito próximos, irão eventualmente gerar duas ou mais versÔes corretas e paralelas da blockchain, os nodes vão aceitar a versão que for propagada a eles em primeiro momento. Quando a versão mais longa da blockchain for escolhida e aceita pelos nodes, a(s) versão(Ôes) menos longa(s) serå(ão) abandonada(as) e seu(s) respectivo(s) bloco(s) serå(ão) considerado(s) como stale block(s).

4 Para garantir que a transação não volte ao mempool, no caso de um stale block, é seguro aguardar algumas confirmaçÔes.

  1. It creates two different (both valid) blockchains that start streaming out in the network. At some point, after a few more blocks has been mined, one of the blockchains will become invalid and the blocks will be dropped since the nodes prefers the longest blockchain.

  2. A stale block is a block that was previously appended to the blockchain, but got dropped because of the version of the blockchain it was running got dropped.

  3. Stale blocks occur when the network decided which of the parallel running blockchains to choose as the right one to continue on. This is typically decided upon the length of the blockchain; which blockchain has the most blocks appended.

  4. Because you cannot be sure, after 1 block has been mined, that the blockchain your transaction was confirmed on will not get dropped later. The more confirmations (mined blocks) you receive on your transaction, the lower the chance is for your transaction to be pushed back into the mempool when the transaction’s block is dropped. The “golden” number here is 6. Wait for 6 confirmations and you should be good to go.

1 Like
  1. The Block that gets to be the longest chain will be accepted, and thee other block will be orphaned and the TRX from the dropped block will be returned to the Mempool.
  2. A stale block or orphaned block, that has been rejected, a dead end because there is a longer chain.
  3. When there are 2 blocks being propagated at the same time through the network, although both true, one maybe has 2 confirmations ahead of thee other and is accepted before thee other and the latecomer rejected, by the network,.
  4. To see if it is accepted and not a stale block. 6 confirmation best practice

Stale blocks

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

Both miners will propagate their new blockchain through the entire network resulting in different sections of the blockchain network nodes tracking/replicating competing blockchain solutions.

Both solutions will exist within the network until the next block is appended to the blockchain resulting in one of the two competing blockchains growing in length with respect to the other.

Once one of the two competing blockchains is longer than the other blockchain record all nodes within in the blockchain network will track this new longer blockchain resulting in the node releasing their original blockchain ledger. Released blockchains are termed “stale blocks” or “orphaned blocks” with the transactions recorded within these blockchain returning to the mempool for later processing onto to end of the newly formed blockchain.

2. What is a stale block?

A “stale block” is a previously hashed block containing UTXOs which were not incorporated within the blockchain ledger. These released UTXOs are returned to the mempool for later processing within a new block to be added to the end of the blockchain.

3. How do stale blocks occur?

Two or more miners propagate their blockchain through the network resulting in different nodes of the blockchain network tracking/replicating competing blockchain solutions.

These competing blockchain ledgers will coexist within the network until the next block is appended to the blockchain ledger at which point one of the two competing blockchains will grow in length with respect to the other. Once the blockchain length is increased all network nodes will resort to tracking the new longer blockchain resulting in “stale blocks” (incomplete blockchains) being released by network. The resulting released UTXOs return to the mempool so that these UTXOs can be correctly appended to the longest blockchain ledger.

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

The blockchain network automatically adjusts the target difficulty (target number) to ensure the time taken to produce a newly hash block is maintained at 10 minutes. The value of the target number is inversely proportional to the number of miners competing within the network.

By maintaining the time taken to produce new hashed blocks to 10 minutes the number of competing blocks released to the blockchain ledger by competing miners is limited/restricted reducing the probability of coincident blockchains occuring at the same time. Also the time taken to resolve competing blockchain ledgers, and thus forming multiple coincident stale blocks, is reduced since all network nodes refresh their blockchain ledger every 10 minutes.

By waiting for the blockchain ledger to growth by 6 blocks 60 minutes have elapsed reducing the probability that your blockchain transaction was include included within a stale block and not confirmed.

1 Like
  1. When two miners solve a bitcoin block at the same time, both are valid and propagated around them. It is an accidental fork. Two different chains are in competition until a new block is found and the longest chain becomes the valid one.

  2. A stale block is a block that was valid when created, but it was in competition with another valid block and it has been rejected because it was not in the longest chain. It is also described as an orphan block.

  3. Stale blocks occur after an accidental fork, they are the rejected blocks.

  4. It is important to wait for more than one block to be confirmed when sending or receiving a transaction, because you want to be sure that your transaction will not be in an orphan block (or stale block), in order to be sure that your transaction will remain valid forever.

1.One block will win out depending on how it propagated throughout the network and the miners that pick up on it.
2.A stale block is a block that was dropped. Those transactions then go back to the mempool.
3.When the blockchain chooses the chain with the most pow the other block gets dropped.
4.Your transaction could end up back in the mempool before it gets in the right block that gets added to the blockchain

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

The network is forked into two chains ending with either of the two solved blocks.
When new blocks are created and chained to either of them, then the network keeps the longer chain and drops the other.

  1. What is a stale block?

A block that is removed from the blockchain when there is a longer competing chain in the network.

  1. How do stale blocks occur?

When two blocks are created at the same time, then all new blocks that make a shorter chain with one of them become stale.

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

To ensure that the block is not stale.

1.) both blocks will be appended (temporally) onto a seperate (side)chain. After 6 blocks mined in one of that chain, it will be decided (by the network(protocol)), which chain is longer (in case of having more PoW done within that blocks) and be accepted as the recent blockchain with confirmed TX.
2.) all other blocks in other (side)chain - they will be removed and all other (now unconfirmed) TX go back to the mempool.
3.) stale blocks occur when a (side)chain containing these blocks (due an other miner wins to append blocks to the (main)chain) is not choosen as the new and only blockchain and the TX will become unconfirmed.
4.) to wait 6 blocks will increase the propability, that a TX is not in an staled block (only) and returned to the mempool, but in the recent chain.

  1. They will both be valid as they send their solution out to the network and are accepted by different nodes. Eventually the one with the longest chain will be accepted as truth and the other will have its transactions sent back to the mempool.
  2. A stale block is a block that gets dropped after nodes decide to follow a different block to continue the chain.
  3. Stale blocks can occur from blocks being produced too quickly and not all nodes have enough time to sync their blockchains together before the next block is produced. Also they can happen when two blocks are found at the same time and the network chooses to append one over the other.
  4. It’s important to wait in case the transaction is part of a block that will become stale or orphaned.
  1. They will co exist until one chain gets longer than the other. The longer chain is always the valid chain. Therefore the shorter chain will be dropped and the block or blocks become stale blocks.

  2. A stale block, is a block which is dropped after it has been part of the chain for some time. The stale block belonged to the shorter chain which was propagated through the network and lost against a longer chain.

  3. They occur when different miners mine a block at the same time. The stale block is part of the chain but then ultimately dropped due to the existence of a longer chain.

  4. In order to be sure the transaction is part in the longest chain, as the propagation of the longest chain through the network does take time.

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

The network must wait for confirmation of consensus to be reached, the longer chain will wins and new block will be added to it, the shorter chain will drop off this is known as stale block all its transactions will return in the mempool once again.

  1. What is a stale block?

It is a block that can’t continue in the blockchain because another block that was created at the same was confirmed by consensus to be part of the the longer chain. so therefor becoming redundant and stale

  1. How do stale blocks occur?

They happen when two miners mine valid block at the same time creating a fork the block on the shortest chain will become a stale 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 six confirmations to be sure that the block your transactions are in is not dropped from the chain.

1/ the blockchain will split and the two different valid blocks will be added to a different branch. Each of the two new blocks will be propagated trough the network. The miner with the next new block will ad its block to the chain propagated to him. This becomes now the longest block chain and as such accepted by the network.
2/ A stale block is the valid block in the shorter rejected branch of the chain split, dropped by the network , its transactions went back to the mempool
3/ Stale blocks occur when the block time differs from (the around) 10 minutes.
4/ Your transaction could be in a Stale block , the first confirmation could be reconfirmed.

1- When this happens two blocks are created and because of that the chain is momentarily divided in two, waiting for the network to pick just one by choosing the one that has more proof of work by the miners.

2- It Is the block that has being rejected because wasn’t the one that has the most proof of work by the miners.

3- An stale block occurs when two miners create a block practically at the same time but just one needs to be accepted by the network to become valid being the rejected block the stale one.

4- To make the network more secure and give time to ditch any stale block if any.