Homework on Stale Blocks

  1. They are both accepted accross the network until the longest chain is verified. Then the minor with the longest chain is rewarded and the other minors blocks stays in the mempool until rejected or dropped.

  2. Stale Block is the rejected block in the mempool

  3. Stale Blocks come from a minor work that was caught in a double acceptance that was ratified.

  4. To make sure that the entire chain is completed without conflicts by the decentralized network. The more confirmations the longer the blockchain. Usually if there is a competing conflict then the longest block-chain is automatically chosen with the most evidence of POW and Truth. So Miners extent it more by resolving the nonce for the next block reward.

1 Like

Nodes are alerted and they each go to their nearest nodes and into the blockchain.
A stale block is a block on the blockchain that hasn’t been picked up by the next miner and so it is returned to the mempool.
Stale blocks occur when more than one miner produces a block at the same time.
It is important to wait for confirmation to make sure that the block isn’t a stale one and other blocks have been added to it.

2 Likes

there is a stale with both blocks until one of them are chosen for the next transaction

stale is when both blocks are mined at the same time and waiting for the next transaction to chose one

when two blocks are mined at the same time

to continue on the block and send the remaining orphan to the mempool

1 Like

1,The longest chain survives, the losing block goes back into the Mempool to be mined again.

2, An unconfirmed block.

3, When 2 blocks are confirmed at the same time,only one can be accepted onto the network. The next block that is mined can only link to one of these blocks which ever block is chosen makes this the longest chain and the other block becomes Stale and is then returned to the Mempool.

4, 4. It is important to wait for 6 confirmations to be sure that the block your transactions are in is not dropped from the chain and become stale.

2 Likes

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

  1. Bitcoin clients always trust the longest chain, so if two blocks is mined on the same time , it’s up to (51% of) the miners to decide which is going to be ‘accepted’ and which is going to be worthless. This is one of the reasons why you shouldn’t trust only a few confirms, as the confirms could be a orphaned blockchain.

What is a stale block?

  1. Stale blocks: At any second, a block may be “solved.”. This means that everyone else in the world working on that block must stop, and restart their work. Continuing to work after that point is known as working on a “stale block” because it is old data, and old transactions .

How do stale blocks occur?

  1. When two miners mine a valid block at the same time.

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

  1. The transaction could be in a stale block.
2 Likes
  • You have two versions of truth, only the longest block chain is the correct one.

  • Stale block or orphaned block is a particular block that is verified and ok, but is part of the 2nd version of the blockchain, therefore it ends up bien dropped.

  • They occur when you have 2 miners mining a block at the same time.

  • Because this way you ensure that the blockchain you are adding your block to is the correct version, the single and only truth in the ledger.

2 Likes
  1. The network soft forks and continues with two diffent versions, untill one of them gets longer than the other. 2. Stale (or orphaned) blocks are discarded and the transactions are sent to the mempool.
  2. A stale block is identified when another version of the blockchain is accepted by the network as the longest.
  3. Your transaction might be part of a stale block and is only valid once the longer chain picks up the transaction.
2 Likes
  1. What happens in the bitcoin network when two miners solve a block at the same time?
    Both blocks will be propagated through the network.

  2. What is a stale block?
    A block that is discarted by the network, due to a longer version of the blockchain being available.

  3. How do stale blocks occur?
    They occur due to the time needed to fully propagate the blocks through the network. Two blocks mined at the same time will be propagated through the network at the same time, having 2 versions of the blockchain until some other miner mines a new block and appends it to one of the existing versions. Then, the longest chain will be used, and the other one will be discarted, and transactions in unconfirmed blocks will be returned to the mempool.

  4. Why is it important to wait for more than one block to be confirmed when sending or receiving a transaction?
    To avoid having the transaction discarted (returned to the mempool) due to stale/orphaned blocks.

2 Likes
  1. they a valid i.e. two versions of the truth but the next block decides because it is chained to one of these two and produces a longer blockchain so one become part of the blockchain (because of the next) and one is orphand or stale and removed from the blockchain
  2. first part of the network i.e. one of the two versions of the truth but then removed becuase it becomes part in the shorter version of the blockchain - see answer 1
  3. when two miners solve block at the smae time and then the next block is chained and produces longer blockchain so one of block remains in the blockchain and one is removed i.e. stale i.e. orphand
  4. in order to have enogh time all the transaction to propagated through the entre (worldwide) netork, to be valided and confirmes, to have proof of work and new block is created
2 Likes
  1. The more difficult of the two blocks is selected and the other becomes a stale block
  2. A stale block is block that was dropped from the blockchain, returned to the meme pool
  3. Stale blocks occur when two blocks are created at the same time, the less difficult one becomes designated as the stale block
    4.It is best practice to wait for 6 confirmations to insure the blocks are selected
1 Like
  1. Both blocks are propagated by the network resulting in 2 chains briefly until one chain becomes longer then that becomes the valid chain and blocks on the other chain become stale.

  2. A block which was not on the longest chain.
    .
    3.This happens when one chain is invalidated by the network as there is a longer valid chain.

  3. Because your transaction may get stuck in a stale block. The more confirmations the less likely this happens.

2 Likes
  1. The longest blockchain or with most proof of work will be accepted by the network.

  2. These are blocks that belong to a version of the blockchain that were dropped because it was not accepted as the chain with the most proof of work.

  3. They occur when a block is dropped from the blockchain because it was not accepted by the network as being part of the chain with the most proof of work.

  4. It is important because the transactions in a block could be dropped and sent back to the mempool. Do not pass go, do not collect 200 dollars.

2 Likes

1. What happens in the bitcoin network when two miners solve a block at the same time?
It forks into 2 new bc until the only one longest POW blockchain become validated and starts dropping the other one in the mempool again.

2. What is a stale block?
(or orhaned ) This is a block that gets dropped by the network and not accepted anymore by the nodes. A transaction is confirmed every further 6 verifications on the network.

3. How do stale blocks occur?
When 2 miners for ex. produce 2 valid blocks @ same time pending on the blockchain. after verifications and longest BC, only one will remain valid …the other one will become 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 a particular block could be dropped by the network every 6 other confirmations and suddenly become a STALE BLOCK

2 Likes

1. What happens in the bitcoin network when two miners solve a block at the same time?
Two valid new blocks are created. However the transaction in one of them will eventually go back to the mempool and the other will continue as the longest chain.

2. What is a stale block?
A stale block is the block that is left behind and isn’t a part of the blockchain anymore because the miners choose to continue on the other block.

3. How do stale blocks occur?
When to two miners at solves a block at the same time and one of the blocks isn’t chosen as the one to continue the chain with.

4. Why is it important to wait for more than one block to be confirmed when sending or receiving a transaction?
Because then the possibility of the block with your transaction isn’t the one that is gonna be stale.

2 Likes
  1. What happens in the bitcoin network when two miners solve a block at the same time?
    We will see who of the miners has a longer chain. The one with the longer chain is the
    origineel chain. The other one will be dropped and send back to the mempool.

  2. What is a stale block?
    A stale Block is a block that got dropped simply because the other chain was longer. This
    happens when two miners solve a block at the same time.

  3. How do stale blocks occur?
    This happens when two miners solve a block at the same time and the shorter chain
    block gets dropped it is called 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 it takes about a time to check that your block is not a stale block in this instant 6
    blocks.

2 Likes
  1. Both blocks are valid and spread to nodes until it is decided which block got the next block first.
  2. It is a valid block that has been dropped.
  3. When a valid block gets dropped from the blockchain after losing against another valid block with a longer blockchain.
  4. Because more added blocks will confirm that the block with the specific transaction has finally been linked to the blockchain.
2 Likes
  1. What happens in the bitcoin network when two miners solve a block at the same time?
    A. The longest chain will win the reward and the other will be rejected and the transaction returned to the mempool.

  2. What is a stale block?
    A. A stale block is a block that is dropped when a longer block wins the reward.

  3. How do stale blocks occur?
    A. If two miners complete a block at the same time, the block with the longest chain wins and the other block is dropped. That 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?
    A. If there are multiple version of the valid blocks you should wait until there are at least 6 confirmations to be safe. Transaction with at least 6 confirmations are generally considered safe to be added to the blockchain.

2 Likes
  1. Both miners propagate the block that they have mined to the network. Nodes will then accept the one they receive first as the new version of truth in the blockchain.

  2. It is a block that was previously mined but is no longer part of the longest blockchain in the network. It is discarded by the nodes and all its transactions return to the mempool.

  3. Stale blocks occur when two concurrent blockchains exist in the network at a given time and the next mined block is added to the other blockchain, becoming the longest chain in the network.

  4. To ensure that the block where the transaction is included does not become a stale block and is indeed a constituent block of the longest blockchain in the network.

2 Likes

1.) When two miners solve a block at the same time, two versions of the blockchain are created. The first chain to get the next confirmation wins.

2.) A stale block is one of the blocks on the chain that was not accepted.

3.) Stale blocks occur when the competing chain gets more confirmations.

4.) Best practice is to wait 6 blocks/confirmations to ensure that you TX is not in a stale block.

2 Likes

A stale block was appended to the blockchain, but because 2 miners mined around the same time, there are 2 different valid blockchains. If there are more valid blockchains in existence, the longest one will be chosen as the correct one (because it has more proof of work than the other blockchains) so in practice, it will depend on wich of those 2 valid blocks the next miner mines a new block. The other one will become stale and all transactions that weren’t included in the other block, will go back to the mempool

2 Likes