Skip to main content

Questions tagged [stale-block]

A block that is part of an alternative branch in the blockchain and doesn't belong to the longest chain. Stale blocks occur when the blockchain forks, but another competing block at the same height ends up parenting the new longest chain.

Filter by
Sorted by
Tagged with
1 vote
1 answer
745 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 ...
0 votes
0 answers
92 views

Is the stale block (its header) accepted only if it extends the existing stale chain tip or it is only necessary that the parent is known? [duplicate]

When I write "accepted" for non-main (canonical) chain blocks, I mean on accepting and storing their headers, not entire blocks. Additional request for an entire block is done once the chain ...
0 votes
1 answer
103 views

How is the problem of orphan blocks solved in this case?

All nodes are online all the time, they were not offline. What will happen if some of my peers (blue peers) have their chains as follows: ... -> A -> B -> D (main chain) \-> C ...
6 votes
1 answer
2k 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 ...
1 vote
1 answer
525 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
1 answer
261 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 ...
3 votes
1 answer
299 views

Is there a correct way to refer to "orphan" blocks?

I was reading a passage on the bitcoin wiki that pointed out that it doesn't make sense to call invalid chains "orphans," since, by definition, every block in the blockchain except the ...
1 vote
0 answers
29 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?
0 votes
1 answer
556 views

Double spend question during fork

What happens to a double spend during a fork where one of the transactions are in a orphaned block and the other in the main chain? 2 transactions get broadcasted in the network and 2 conflicting ...
1 vote
0 answers
144 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 ...
3 votes
0 answers
434 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, ...
4 votes
1 answer
216 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 ...
17 votes
1 answer
11k 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, ...
12 votes
1 answer
6k 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, ...
2 votes
2 answers
149 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 ...
1 vote
2 answers
342 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 ...
5 votes
2 answers
3k 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?
22 votes
4 answers
2k 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.
5 votes
1 answer
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 ...
50 votes
2 answers
25k 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, ...
0 votes
1 answer
283 views

What does it mean when a block is "kicked"?

While mining on a NOMP mining pool, I noticed that when you add the confirmed blocks and pending blocks together, they rarely add up to the total blocks found. It is my understanding that the missing ...
5 votes
2 answers
1k 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
3 answers
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 ...
2 votes
0 answers
235 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 ...
4 votes
2 answers
842 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 ...
1 vote
0 answers
105 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 ...
2 votes
0 answers
132 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 ...
2 votes
1 answer
437 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?
3 votes
1 answer
3k 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 ...
11 votes
2 answers
3k 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 ...
0 votes
2 answers
241 views

Are no orphaned blocks mined in the Bitcoin network?

I can't find orphaned blocks in the Bitcoin network from July with references to blockchain.info. Does this mean the bitcoin network centralization? I like C. Decker's paper "Information Propagation ...
3 votes
2 answers
316 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
2 answers
101 views

Mining reward for stale blocks

Suppose a miner mined a block and the block was part of the best chain. He must have got his mining reward then. Now suppose that due to a fork sometimes later, the block that he mined is no longer a ...
1 vote
1 answer
510 views

Transaction listed as confirmed in two blocks on blockchain.info

There is a strange tx 9c7b0d0423af64e81c4b850bae781e41077586a9e3328f5048f8367c6e4a8212 that is shown as confirmed twice in the blockchain.info database. Blockchain.info information is truly ...
1 vote
2 answers
315 views

How to return tx to mempool from stale block?

This question is centered around the implementation of how transactions from a reorganized block return to the mempool. In my understanding, once a block becomes organized out of the best chain all ...
0 votes
1 answer
55 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 ...
10 votes
1 answer
500 views

Obtaining historical stale blocks (chaintips) without old node

I'm attempting to do some research surrounding stale 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 ...
2 votes
2 answers
334 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 ...
2 votes
1 answer
90 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 stale blocks but are left out the new blocks when "rolling back&...
1 vote
1 answer
190 views

Can a transaction disappear?

Can a transaction disappear after a transaction is submitted to the Bitcoin network? I read about stale blocks. Are all transactions in a stale block going away? Is there a possibility that ...
6 votes
1 answer
539 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 ...
3 votes
1 answer
392 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.
0 votes
1 answer
183 views

Bitcoin Orphan blocks - short question about the "time lag" factor and proof-of-work "size"

"However, it is possible that two miners produce a block at a similar time. This situation occurs because the acceptance of the blocks into the blockchain by the nodes of the blockchain network ...
4 votes
2 answers
1k 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 ...
1 vote
1 answer
73 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 ...
3 votes
0 answers
234 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
1 answer
233 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
1 answer
161 views

Is block reorg works in this way?

i need an expert to clarify is my understanding correct to block reorganization. I can't find answer can persuade me, sound like only i dunno what is block reorganization :(. say my bitcoin network ...
0 votes
1 answer
420 views

Do Orphan Blocks Still Exist In Bitcoin?

Orphan blocks were one of the problems with Bitcoin at its beginning. Do orphan blocks still exist in Bitcoin, and if not, why?
2 votes
1 answer
95 views

Retention and Accessibility of Disconnected Block and Transaction Data

In the context of a fully indexed, non-pruned Bitcoin Core node, I am exploring the duration and persistence of data related to disconnected blocks and their contained transactions due to a blockchain ...