Questions tagged [orphaned-blocks]

A block whose parent is not available to the client. Often falsely used for [stale-block].

Filter by
Sorted by
Tagged with
43
votes
2answers
17k views

What happens if two miners mine the next block at the same time?

The process of mining as described in the answer to this question is simultaneously repeated by multiple miners. Is it possible for two miners to find the next block at the same instant? If it is, ...
31
votes
4answers
55k views

What are orphaned and stale blocks?

If I understand it right, a stale block is a block for which an earlier confirmation has been found and was accepted by majority of people. This block is considered invalid and is later never used. ...
21
votes
4answers
1k views

How often forks occur?

How often do forks occur in the block chain? I'm interested in the small, one block forks that happen when two miners create a block at the similar time.
15
votes
1answer
9k views

What happens when you send a transaction that ends up in an orphaned block. Is it recoverable?

I've found a lot of information regarding orphan blocks, but I can't find an answer to this simple question. If I send a payment to a user and my transaction happens to end up in an orphaned block, ...
11
votes
2answers
2k views

What's the longest chain of orphan blocks? (How many confirmations have been necessary?)

I believe my two title questions are the same (are they?): Heretofore, what is the longest chain of orphan blocks (of N blocks), such that if someone didn't wait for N+1 confirmations, they may have ...
10
votes
1answer
4k views

Strongest vs Longest chain and orphaned blocks

Satoshi writes at the bottom of page 3 of his white paper that "If two nodes broadcast different versions of the next block simultaneously, some nodes may receive one or the other first. In that case, ...
7
votes
2answers
492 views

How does a Bitcoin client efficiently change forks?

Occasionally, a Bitcoin client will come across a fork of blocks that is longer than the chain it is currently on. Depending on how often orphaned blocks occur, this could be quite often. When this ...
6
votes
1answer
1k views

Who wins the race for multiple valid blocks mined at the same time?

From my understanding, a SHA256 hash is generated by a miner and if the hash is less than a specific value, it is passed to its peers. That said, It's possible for multiple hashes to be created at ...
6
votes
1answer
60 views

What happens if you receive a block with an unknown previous hash in the header

I searched this question and couldn't find an answer to the following scenario. Block 4440 gets mined at 10:00 AM Block 4441 gets mined at 10:01 AM Lets assume I receive Block 4441 first and 4440 ...
5
votes
1answer
364 views

What are the consequences of high orphan block rate?

I know the disadvantages of a high stale block rate include: More opportunities for double spend attacks Lower network difficulty making the network cheaper to attack But I don't know how even an ...
5
votes
2answers
891 views

How will a massive increase in hashpower affect orphan rates?

Difficulty always lags behind a little. It is also limited in how large adjustments it makes each time. What if the (global) hashrate doubles overnight? What if it quadruples? How much can we expect ...
5
votes
3answers
3k views

Getting orphaned Blocks from the Blockchain

I'm very interested in doing some analysis of orphaned blocks, but to do so I'd have to have a good way of accessing them. Blockchain.info seems like a good place to start but I don't want to abuse ...
5
votes
2answers
144 views

What happens if a miner receives a block but not its previous?

Suppose the following: A miner has stored the current blockchain A-B-C. It stops listening for blocks during some time. During that time, blocks D and E are mined and broadcasted. The miner ...
5
votes
1answer
3k views

Can someone explain this double spend on blockchain.info?

I'm confused by double-spend linked below, in which both transactions ended up in blocks mined by different miners. Specifically, I'm wondering if there's any way to tell what exactly happened based ...
4
votes
2answers
530 views

What happen if some blocks are added simultaneously with same previous hash

In all of the blockchain samples that I see e.g. adilmoujahid, Savjee as I checked, they added previous Hash by creating a block. Suppose that, L is the current last block in a chain. Block A and ...
4
votes
2answers
2k views

Orphan Blocks rate

What are the factors affecting the rate of orphan blocks? The one I can think of is network latency, the higher it is, the higher the rate of orphan blocks. Any other suggestions?
4
votes
2answers
705 views

Transactions within orphaned blocks

Scenario: You are running a bitcoind node and listening to the incoming blocks/transactions. You receive TX 1 which is put into your mempool. Block A is mined, and includes TX 1, which is ...
4
votes
0answers
158 views

Obtaining historical orphaned blocks (chaintips) without old node

I'm attempting to do some research surrounding orphaned blocks within the Bitcoin network. From my understanding the best and really only way to obtain data for blocks that no longer exist in the main ...
3
votes
1answer
133 views

Why Block Chain not Block Tree?

Why is the Blockchain intended to be a chain and not a tree? Why do orphaned blocks get trimmed off? Would you please provide a detailed answer.
3
votes
1answer
2k views

How can pool operators reduce the number of orphaned blocks that they mine?

Every time a pool mines a orphaned block, that is wasted effort for the pool. In an interest to increase pool efficiency and overall network efficiency, what can a pool do to increase efficiency ...
3
votes
1answer
906 views

Conflicted transactions in blockchain reorganizations

When my service detects a conflicted transaction (either sent or received) it rollbacks everything that was logically built upon this transaction. The "problem" is that transactions can go from ...
3
votes
1answer
161 views

Is there a visualisation tool for discarded block chains in Bitcoin?

A lot of papers about cryptocurrencies explain the concept of the "longest chain", which goes along with these kind of figures: I was wondering if there exist any kind of visualisation tool for these ...
3
votes
0answers
335 views

Probability of Orphaned Blocks

This is a question regarding the probability of orphaned blocks depending on the block interval. I am using Bitcoin vs Litecoin as an example. Assuming equal hash rate and number of transactions, ...
2
votes
2answers
86 views

Can there be stale blocks in “header first” implementation?

The Bitcoin developer guide mentions stale blocks as not being in the longest chain, then moves on to orphan blocks. It states you don't get orphan blocks, "and if you do" they are just dropped. But ...
2
votes
1answer
429 views

Block orphaned by same miner?

Just noticed 2 conflicting blocks by the same pool. One of the blocks was naturally orphaned, but why would the same pool broadcast 2 such blocks? Does it happen often?
2
votes
1answer
58 views

What happens if I spend a double spend?

Given I can receive a double spend and potentially re-spend it after 1 confirmation, what happens to that transaction once the double spend is detected during a blockchain reorg?
2
votes
2answers
149 views

How should a node deal with a block that is not connected to the chain?

Suppose I am a node in the Bitcoin protocol and I receive a block that does not point to any block in my current chain. Should I keep it on the side, waiting for missing intermediate ones? Should I ...
2
votes
0answers
200 views

Get as many blocks as possible (stale, invalid, orphans)

I would like to download (and access) as much blocks as possible - including stale (extinct) blocks, orphans blocks and invalid blocks. I have 0.11 official client. My node is already synchronized but ...
1
vote
2answers
242 views

Tie Breaker to reduce orphaned chains?

When two different miners find the same block number at roughly the same time, the chain is forked, and there is a bit of a race to develop a longer chain, leaving the alternative orphaned. Why is ...
1
vote
1answer
96 views

What happens to rejected transactions ( i.e double spend or invalid transactions)?

Do they get put in an orphaned block or not get put into any block at all?
1
vote
1answer
182 views

Orphan block payment maturity

I know that the outputs coinbase transaction can be spent only after receiving 100 confirmations. So is it that a miner who mined an orphan block receives the outputs of coinbase transaction but can ...
1
vote
1answer
55 views

Bitcoin Core mempool after disconnecting a block

After reading this answer by Pieter about "undo files" I'm wondering what happens with transactions that were included in orphaned blocks but are left out the new blocks when "rolling back". Are they ...
1
vote
1answer
86 views

Is “fee higher than block reward” attack possible?

Imagine the following scenario: I send you 1000 BTC. After 6 confirmations, you give me what I bought. I create another transaction with 900 BTC to my own wallet and 100 BTC as transaction fee, using ...
1
vote
1answer
189 views

How can I trust a new block broadcated on the network?

I have a giant hole in my understanding! I recently started using https://github.com/sebicas/bitcoin-sniffer which is a Python script that lets you connect to any node on the Bitcoin Network and ...
1
vote
1answer
508 views

Selfish Mining: stale or orphan?

In terms of a selfish attack many sources speak of orphaned blocks, i.e. blocks that are not on the main chain and thus not paying any coinbase transaction to its miner. Still I'm not sure and ...
1
vote
1answer
39 views

How can Forks and Orphan Blocks be used to attack a Blockchain?

So I'm trying to learn about the security aspects of Blockchains and one of the papers I'm reading (https://arxiv.org/pdf/1904.03487.pdf) states that Forks and Orphaned Blocks can be used to attack a ...
1
vote
1answer
23 views

What does an orphaned tx look like via rpc? [closed]

I am testing with a currency forked from Pivx, but I see that bitcoind responds the same way here https://bitcointalk.org/index.php?topic=100824.0 with error code -5 If I send/receive a tx that then ...
1
vote
2answers
169 views

Why do large blocks increase the probability of chain reorgs?

After the recent two chain reorgs taking place in Bitcoin Cash SV, I am finding a number of developers stating that large blocks are the reason for the reorgs: "Almost each time someone is trying to ...
1
vote
1answer
123 views

Transaction in orphaned block question

This is a theoretical question. Assuming that a transaction (TX_A) with me on the receiving end gets added to the blockchain, I should be able to spend the amount I received. So I go on and spend it ...
1
vote
1answer
726 views

Orphaned (non referenced) blocks list

Orphan block is a block that doesn't have a known parent in the longest block chain. As I understand, this mean that orphaned block does not have a reference on it as "previous block hash" in any ...
1
vote
0answers
20 views

Orphan blocks explorer

Is there any blockchain explorer that lists orphaned blocks or reorgs? How often does it happen in general? I only found this site which doesn't show any orphaned blocks after 2017: https://www....
1
vote
1answer
470 views

Remove Orphan blocks from “personal” blockchain

Alright, so I've been trying to learn a little more about the blockchain and blockchain-development lately. For every other altcoin, I've noticed that there's such a thing as a bootstrap.dat-file ...
1
vote
0answers
119 views

Bitcoinj stuck after chain split

I am using LevelDBFullPrunedBlockStore as a BlockChain. once in every 2-3 chainsplit in the network my bitcoinJ node stops to download new block. The scenario is always the same 1)My node get block ...
1
vote
0answers
24 views

Why are orphans called orphans? [duplicate]

An orphan does not have parents. On the other hand an orphaned block has a parent but no children. So shouldn't it be called barren rather than orphan?
1
vote
1answer
485 views

Understanding transactions in orphan blocks

This is in regards to Testnet. I found a transaction that was confirmed in two blocks that were 106 blocks apart (923,255 & 923,149). Block 923,149 is part of the main chain and 923,255 was ...
1
vote
0answers
90 views

Longest “natural” fork [duplicate]

Once a day, roughly, two competing blocks with the same height are mined, which leads to one of them being orphaned. Was there ever a "natural" case in which the fork lasted for two rounds? By ...
1
vote
0answers
118 views

What is block forwarding logic of the Satoshi Client?

Could anyone explain in simple words what does the reference client do when it receives a orphan, stale or best-chain block regarding sending "inv", "block" and "getdata" commands? An interaction ...
0
votes
1answer
338 views

Duplicate of blocks in blockchain

There is some strange TX 9c7b0d0423af64e81c4b850bae781e41077586a9e3328f5048f8367c6e4a8212 that doubled in blockchain local database. Blockchain.info information is truly interesting. Is it a scum ...
0
votes
1answer
35 views

Can a transaction disappear? (Orphan Blocks)

Can a transaction disappear after transfers transactions to Bitcoin networks. I heard about the Orphan Block. Are all transactions in the Orphan block going away? Is there a possibility that ...
0
votes
1answer
35 views

Is there a webpage showing some of the latest orphaned blocks?

Blockchain.info has a couple pages about orphans, but the chart page does not agree with the list page. My admittedly brief search for a page that shows orphans didn't turn up anything that was ...