Homework on Stale Blocks

  1. for a short period of time, there are two versions of the Blockchain until the next miner ad a Block on one of the previous Blocks. The “longest” version of the Blockchain always “wins”

  2. That is a Block which was valid but got rejected cause a other version of the Blockhain is longer (pow)

  3. They occur when two miners mine a block at approximately the same time, but one will be removed and “sent” back to the mempool, depending on which Blockchain is “longer” (pow)

  4. At the moment you should wait for about 6 Blocks before your tx is realy confirmed, cause your tx could be at a temporarily “fork” and maybe get removed.

  1. The chain splits into two, each with there valid version of the chain and the nodes start to pick this up…As soon as another block is found and added to one of these two chains, the longest chain(POW) will be followed and the other block will be dropped and all transactions added back into its mempool.
  2. A stale block is a valid block that is dropped because of another valid block that was mined at the same time
  3. When two blocks are mined each with there version of the true chain and another block is mined and follows one of these chains therefore making it the longest and is followed, the other block is dropped.
  4. To make sure that your transaction was not in a stale block that will be dropped from the blockchain… Therefore waiting for 6 confirmations makes is safer to be sure that your transaction is on the block with the longest chain that all other nodes accept to be true and follow.
  1. If two blocks are mined at the same time, the consensus of the chain is such that the longest chain of blocks is always accepted as the true chain. When two miners solve a block at the same time, two chains will form, and work may proceed on these two forking chains simultaneously, but this situation will always be brought back to one true chain by the protocols.

  2. A stale block [or ‘orphaned’ block] is one that has not been chosen to be incorporated as the next link [block] in the blockchain, and therefore contains TX that have not now been officially confirmed.

  3. Stale blocks occur due to the process of competition for winning a mined block. The blocks that did not win have assembled blocks that now, while containing good transactions, have not been confirmed. These completed but unsuccessful blocks are termed ‘stale’. The TX in a stale block are returned to the mempool.

  4. It is best to wait for confirmation of 6 blocks from other nodes across the network when sending or receiving a TX, because your TX will not be confirmed if they are not contained in the winning block’s data. After 6 blocks, however, your TX are fully confirmed and on-chain.

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

The network then has two competing versions of the blockchain.

  1. What is a stale block?

When a valid block is dropped from the blockchain due to it being on a shorter chain.

  1. How do stale blocks occur?

When, after two or more chains spawn simultaneously, one eventually becomes the dominant chain. The non dominant chain/s are then dropped and the block/s contained within are discarded thus creating ‘stale’ blocks.

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

When the network reaches clear consensus over which is the dominant chain your transaction will ‘either’ be confirmed or ‘recycled’ back into the mempool. Only transactions that are ‘confirmed’ remain on the blockchain thus becoming valid transactions.

:blush:

  1. the nodes closest to each miner will get the block from that miner and half the network will have one truth and the other half will have another truth.

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

  3. If two blocks are created and sent out to the network at the same time, then there can be two versions of the truth. Then if a miner adds a block to one version the blocks on the other version or chain will be dropped because the other one has more POW.

  4. To avoid the scenario of the two blocks being created at the same time and your transaction being in a block that gets dropped.

  1. This situation creates two versions of blockchain.
  2. Stale/orphan blocks are these that have been rejected by the network even if they are correct. I would call them “Bad Luck Blocks” -> BLB :wink: .
  3. BLB’s are created when two miners solve a block in the same time but the network appends to blockchain one of it in terms of POW.
  4. Because one confirmation can be reversed if transaction is only in BLB :slight_smile:.
  1. The miner working from the longest or most difficult blockchain will have their block appended to it. The other miner will unfortunately find their block stale or orphaned, and returned to the Mempool.

  2. A stale block is one that has been superseeded by a competing miners block, whos block was accepted.

  3. A stale block may occur if another block on the same chain had its chain extended first.

  4. Because your transaction my end up back in the mempool if the current block is rejected. A block is considered safe and accepted after 6 more blocks have been added.

  1. There will be 2 versions of the blcokchain for a short time.

  2. It is a valid block that ends up being dropped from the chain.

  3. When 2 blocks are created simultaneously only one can be confirmed by the following blocks. So the unconfirmed block becomes stale.

  4. In case the transaction you are counting on ends up being dropped because it was in a stale block.

  1. One of them will get stale and one will be added to the chain.
  2. It is a block that was not propagated enough before another valid block was added to the chain.
  3. The some nodes on the network have a short chain and some have a longer one, after the ten minutes the shortest chain gets abandoned along with its block.
  4. It could be that your transaction is included in a block that will be stale and you want to make sure that it is included in the longest blockchain.

Both blocks will be accepted and propagated to other nodes.

A stale block is one that gets dropped because it isn’t part of the longest chain with the highest amount of difficulty.

Stale blocks are blocks that were once part of the blockchain, but get dropped because the chain they are on doesn’t contain the most proof of work.

It is important to wait for several blocks to be appended to the blockchain to make sure your transaction isn’t part of a stale block which gets sent back to the mempool.

1 Like
  1. What happens in the bitcoin network when two miners solve a block at the same time?
    It results in the blockchain splitting into two completely valid chains.

  2. What is a stale block?
    A stale block is a block that is dropped and removed from the chain.

  3. How do stale blocks occur?
    Stale blocks can occur when two miners solve a block at the same time, resulting in two different versions of truth circulating. The longer blockchain with the most POW, will likely be chosen by the next miner, while the other blockchain will be removed, resulting in stale blocks that have been dropped.

  4. Why is it important to wait for more than one block to be confirmed when sending or receiving a transaction?
    It is important because there is a chance that one of the earlier blocks may be dropped, so it allows for more time for the network to propagate.

1 Like
  1. Both blocks are propagated through the network. There are two versions of truth, but the longest chain will be accepted as truth, so only one of the two block will win and the other is orphaned.
  2. A block that has been mined validly, but does not end up in the blockchain because there was another longer version of the blockchain. The transactions in this block may still be in the memepool of the longer version of the blockchain. These transactions are in a sense removed, or actually never happened at all.
  3. When a block has not been propagated to the entire network before another miner mines a different block (with the same bock number). Parts of the network have then different versions of truth.
  4. Because it may occur that your transaction is part of an orphaned block. After 6 transactions you can be certain that your block has been propagated (and accepted) through the entire network and therefore will not be orphaned.
1 Like
  1. Two versions of the truth exist at that time on the network, the one which will become longer in the next few blocks will have to be adopted by the whole network and the other one will be dropped.

  2. A stale (or orphaned) block is a block that was once momentarily on the blockchain but was dropped due to other versions being faster.

  3. Stale blocks occur when two (or more) miners guess the nonce which gives them both valid hashes even if they are completely different. As there can only be one version of the truth, the slower split of the chain will have to be discarded.

  4. Because only after 5 or 6 confirmations you can be pretty much 100% sure that “your version of the blockchain” is the one that was adopted by the whole network. After only 1 confirmation it’s still very much possible for the block with your transaction to later become orphaned.

  1. Both are added initialy, but the one that finally becomes part of the longest chain wins
  2. A block that forked and became part of the shortest chain and therefore disolved and data sent back to the menpol.
  3. see 2.
    4.to avoid your tx being part of a stale block.
1 Like
  1. they both get broadcasted to the nodes, some nodes will have one valid version of the blockchain with the one mined block, some other nodes will have another version of the blockchain with the other mined block. when the next block afterwords will be mined it will be on the basis of the hash of one of the 2 previous mined blocks, that one become the real previous block because that chain would be longer. the other one becomes invalid.

  2. when the other block becomes invalid that is called a stale block.

  3. an other version of the blockchain becomes longer because their where 2 versions broadcasted to the nodes and the other mined block gets a new block added to it faster than to the block that becomes de stale block.

  4. to be sure that your transaction doesn’t become invalid by coincidence that it would become a stale block.

1 Like
  • What happens in the bitcoin network when two miners solve a block at the same time?
    two version of the “truth” have been created and propagated trough the network, at this point the valid blockchain is the chain that is gonna be picked first from the next miner to append a block, because is going to be the chain with the most PoW.

  • What is a stale block?
    a stale block is completely valid block that is dropped from the network.

  • How do stale blocks occur?
    stale blocks are created in the eventuality that miners create blocks at the same time. just one of those blocks are going to be appended to the blockchain the other ones will be dropped,this are called stale blocks.

  • Why is it important to wait for more than one block to be confirmed when sending or receiving a transaction?
    is important to wait for 6 confirmation to make sure that our transaction did not end up in a stale block that is gonna be discarded from the blockchain. in theat case the transaction is going to be transfered to a mempool.

1 Like
  1. When 2 miners solve the nonce at the same time, there becomes two separate blockchains and it depends which one gets more confirmations and blocks connected to it. The miners always go with the longest blockchain.

  2. A stale block is also known as an orphan block.

  3. They are blocks in a chain that where confirmed by a minority or miners until it was abandoned to follow the longest chain. It occurs when 2 miners find the correct nonce under the target at the same time and load up their findings to the network at the same time.

  4. No one wants their transaction to seam to go through just to find out your transaction ended up in a stale block. It all gets worked out after about 10 minutes. You should wait for 6 confirmations to make sure your transaction is valid.

1 Like
  • What happens in the bitcoin network when two miners solve a block at the same time?
  • whichever miner solves the following block fastest would have the longer chain and this be the official blockchain. The second block would be orphaned and sent back into the mempool.
  • What is a stale block?
    A stale block is a block which has been dropped since it is no longer on the longest blockchain. All transactions from the stale or orphaned block will go back to the mempool

  • How do stale blocks occur?
    When two miners simultaneously try to append a new block to the blockchain only the block attached to the longest chain will stay valid and the other becomes a stale or orphaned block and is sent back into the mempool

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

  • ideally 6 confirmations are needed before appending a block to ensure that the block will be accepted and valid
1 Like
  1. What happens in the bitcoin network when two miners solve a block at the same time?

When 2 miners solve the computation at the exact same time then the longer block will break the tie! Then the losing block will be dropped and be considered a stale or orphaned block.

  1. What is a stale block?

This is a block that has been dropped from the blockchain or also known as as orphaned block.

  1. How do stale blocks occur?

This the result of another competing block winning to be confirmation from the network.

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

This is to insure your block doesn’t become a stale or orphaned block and it is wise to wait for at least 6 total confirmations or 10 minutes.

1 Like
  1. When two miners solve a block at the same time it causes a soft fork, Splitting the chain like a Y.
    The network will self correct itself by
    following the longest chain.
  2. That correction will leave blocks that are invalidated ie. Stale or orphaned blocks. and their transactions retured to the mempool.
  3. When two miners solve a block at the same time, because the chain can only have one truth. One of the blocks will eventually be invalidated. Causing a stale or orphaned block.
  4. Your transaction could be invalidated, from its block by being stale, thats why its important to wait six confirmations to be sure.
1 Like