Questions tagged [uncle-blocks]

An uncle block is a validated block that got a silver rather than gold medal, because another miner propagated a competing block more rapidly, and therefore won the “race” to become the next confirmed block on the blockchain. Uncle blocks get a fraction of the full block reward.

Filter by
Sorted by
Tagged with
0 votes
1 answer
15 views

What are the expected changes to the uncle/ommer mechanics and rate on PoS?

Our application UX is potentially sensitive to the uncle/ommer rate. I have been trying to understand the impact of PoS change on this phenomenon, but have not found any recent information that ...
user avatar
  • 1
0 votes
1 answer
29 views

How Uncles (Ommers) Hash include in headers?

I'm confused with the definition of uncle block. I read every articles and they say basically uncle block is a block that valid but lose the race to main blockchain. All the blocks' hashes that lose ...
user avatar
1 vote
0 answers
18 views

Can uncle blocks be avoided by adding a lock to transaction instance once a miner picks it up?

In case of the uncle blocks, to wait until a longest branch is built and to discard the uncles while still rewarding the miners because they spent their computational resources to help secure the ...
user avatar
  • 111
1 vote
0 answers
27 views

Why is Ethereum Uncle rate so low?

In Ethereum 1.0, the block creation time is only about 12-15 seconds. So, we may expect that there will be many uncles. But, practically, the uncle rate is very small. Why is the uncle rate is low?
user avatar
1 vote
0 answers
28 views

How common are orphaned blocks on Ethereum?

How often do orphaned blocks happen on Ethereum? I have read about the 3000 orphaned chain of block on Ethereum Classic, what has been the longest orphaned chain on Ethereum?
user avatar
2 votes
1 answer
43 views

How can you get an uncle block reward and a block reward for the same block?

Looking at https://etherscan.io/block/8364113 This block received both an uncle block reward and a block reward but I don't understand why. I thought an uncle block was a block produced at the same ...
user avatar
  • 23
0 votes
0 answers
35 views

How do I compute the uncle block reward issued for a lock?

I have a bot that tracks the supply of Ethereum. I'm looking to figure out how to compute X where X is the amount of ETH issued to the miner for that block. I believe, after EIP-1559, X = 2 + Y where ...
user avatar
1 vote
1 answer
59 views

Programatically determine confirmation of transaction

Assume I request a transaction A from a Ethereum Node (let's say Infura for simplicity) by using getTransactionByHash shortly after the transaction was processed by the network (currentBlockNumber = A....
user avatar
2 votes
1 answer
59 views

can I trust transactions in blocks with just 1 block confirmation?

In my application, I am using events/logs to capture and display information. So, to decrease the response time, I am returning the result as soon as the block is mined and not waiting for 5-6 block ...
user avatar
  • 43
1 vote
1 answer
89 views

when uncle block info is recorded into blockchain irreversibly?

I want to confirm that what time is proper for checking there is uncle block or not. I know that eth_getUncleCountByBlockNumber returns # of uncle blocks at a block number. (max is 2) But when ...
user avatar
0 votes
1 answer
169 views

Detect orphant or uncle block

At a specificed time, I got a block from physical node with number 10074305 and it returned hash 0xdd30541695c4e574839d2356a01ff19e68c8c90c180b8955623c5e0b4b7e864a (#0), then after a period time, this ...
user avatar
  • 25
0 votes
1 answer
170 views

How do i get the actual transaction receipt if initial receipt was for an uncle?

Say I make some transaction with web3 which is picked up and validated by two miners A and B. A produced what turned out to be an uncle block and B contributed to the main-chain. If web3 gave me the ...
user avatar
  • 350
0 votes
1 answer
98 views

Does Ethereum use the longest chain rule like bitcoin? [duplicate]

I can't seem to find a straight answer to this question. I know that Uncles are rewarded, but are they used to help secure the network? Or does Ethereum use the longest chain rule like Bitcoin?
user avatar
  • 1
0 votes
0 answers
78 views

how to calculate Ethereum inflation per each block?

I've run Ethereum node so I can access blockchain info via rpc api provided from the node. What I want to do is calculate Ether inflation per each block. For that, I've read many documents and I want ...
user avatar
0 votes
2 answers
258 views

How can Ethereum sustain short block creation times if the uncle transactions are not counted?

Lower block times are clearly desirable. Why does not Bitcoin reduce block creation times to 15 seconds just like Ethereum in this case? Because it would lead to too many forks. The main problem with ...
user avatar
  • 41
1 vote
1 answer
77 views

Is there any way to extract transactions in uncles?

As stated in the wiki: Note: An uncle doesn't contain individual transactions. I would still like to extract transactions from uncle blocks. Is there any method available for doing so?
user avatar
2 votes
2 answers
76 views

Does the ETH blockchain have fundamentally more branching than BTC?

Intuitively speaking, ETH seemed to have simply increased the average block generation rate from one every 10 min in BTC to 1 every 15 seconds. There doesn't seem to be any other protection against ...
user avatar
  • 307
1 vote
1 answer
42 views

How to update the balance of a wallet user when there are two competing chains?

I am building a wallet, and I have a question about uncle blocks. Let’s say our user sends a transaction, but there are two competing blockchains. If they both include her transaction, no problem. We ...
user avatar
  • 353
4 votes
1 answer
418 views

About uncle block and event

Say one smart contract trigers an event after one transaction. if this transaction was recorded in one uncle block, then there will be one event, and after confirmed by main block , will there be ...
user avatar
  • 145
1 vote
0 answers
600 views

what happens to the transactions inside an uncle block And what if a contract creation end up in an uncle block [duplicate]

Can anyone suggest what happens to the transactions inside an uncle block ? And what if a contract creation end up in an uncle block. The whitepaper(ethereum) does not give any information whether ...
user avatar
2 votes
1 answer
157 views

"Uncle Chain" Rewards

I'm trying to understand What happens in case another block is mined over an uncle block (giving us an uncle chain) - is the first uncle still rewarded or only the latter? The blue blocks are the ...
user avatar
  • 23
1 vote
1 answer
415 views

How to check uncle block when listening to new block?

I was reading the fantastic https://goethereumbook.org book and found this example to listen to new blocks from Ethereum. Could I ask in this case, how is uncle blocks handled? To put it in another ...
user avatar
2 votes
1 answer
461 views

Transactions in uncle block are lost

as the source code shows below: transactions in orphaned/uncle block are deleted from local db, but there're some posts say those txs would be put back to tx pool and would be packed later. So which ...
user avatar
  • 21
1 vote
1 answer
413 views

Are uncle blocks unnecessary overhead on blockchain?

I have been learning about ethereum but now am stuck with conflicting thoughts about block times and stale blocks. Here is what I understood, please correct me if I am wrong. Block time for bitcoin - ...
user avatar
3 votes
1 answer
41 views

A doubt about forks and mining

Suppose I'm mining a block, and I still don't find the nonce. Suddenly I receive the mined block from another node. But when I try to validate it, I find it's not right. So I discard it. What happens ...
user avatar
0 votes
1 answer
736 views

Detecting whether a transaction was cancelled (because a block is orphaned)

I'm writing a system where some transactions have to be automatically detected, and wait for 30 blocks to ensure they're confirmed. What I do is that I read all new blocks, and find the transactions ...
user avatar
1 vote
1 answer
391 views

Can I check for transactions in an Uncle Block?

I am writing a script which will crawl through all the transactions in each block one by one, and identify deposits made to a specific address. My question is, should I be checking for transactions ...
user avatar
  • 13
1 vote
0 answers
53 views

What precisely classifies an off-chain block as a fork?

I am looking for validation (or invalidation) of my assumption of what strictly counts as a fork in Ethereum. If you start filters to multiple ETH nodes at the same time, you will very often see 2 or ...
user avatar
  • 11
2 votes
2 answers
855 views

Is a block number unique or does it change if the block becomes uncle? Does the transaction hash include a block hash as input?

Is a block number unique or do I need to save block hash to identify a block? Does transaction hash include a block hash as input?
user avatar
  • 563
1 vote
0 answers
514 views

What are sha3Uncles and why are they mostly same for all blocks [duplicate]

I was looking at sha3Uncles in my chain and found it to be constant throughout. After looking at the example response to JSON RPC requests, I found the same value: ...
user avatar
  • 1,650
2 votes
0 answers
108 views

How to make sure the transaction is not included in uncle block

If a transaction is included in the uncle block, neither the sender would be deducted nor the receiver would gain, is that right? Most clients or platforms use 12 confirmations, how would this ...
user avatar
  • 225
0 votes
1 answer
226 views

Ethereum mempool transaction of Uncle and Fork nodes

In the Bitcoin network when a fork happens, the block transactions from the shortest chain are reinserted again into the mempool. In Ethereum instead we have Uncle blocks and Fork blocks. What ...
user avatar
6 votes
1 answer
992 views

Are uncle blocks included in blockchain

When miners M1 and M2 compete to mine block B and miner M2 mines it just after miner M1, his mined block is called ommer/uncle/orphaned. I read that these blocks (untill sixth generation) can be ...
user avatar
  • 163
1 vote
0 answers
92 views

Uncle blocks and their Relationship to Chain Size

How much do uncle blocks affect the overall chain size? Is the amount of added security they provide for the chain comparable to how much extra data they add to the chain? If, for some reason, all ...
user avatar
6 votes
1 answer
300 views

In what cases if any, does a transaction get lost from the network forever?

Is it possible for a transaction that was included in the pending pool across multiple nodes, to become lost from the network forever (i.e. get dropped by all nodes)? If yes, in what cases is that ...
user avatar
1 vote
1 answer
522 views

I mined an uncle. When do i get paid?

There doesn't seem to be an answer to this question anywhere. Geth shows I mined an uncle. There's all kinds of discussions about what/where/and how uncles exist, but when does the miner get paid?
user avatar
  • 11
1 vote
1 answer
454 views

Competing Trx in an uncle

How does Ethereum handle the integration of an uncle Block? Because, as far as I understand, there could be the possibility that an uncle contains a transaction, which compets with a transaction from ...
user avatar
0 votes
1 answer
107 views

Uncle timestamp validity

Regarding acceptance/rejection of uncle blocks, what are acceptable block timestamps for an uncle block? Say: block123_timestamp = Y uncle123_timestamp = X Where X < Y. Is uncle123 a valid uncle, ...
user avatar
  • 729
0 votes
1 answer
93 views

May last block on watch only client become stale?

Let we have an ethereum node which is for a watch purposes only (it doesn't create any transactions, just updates it's replica of the whole chain). To get notifications about top blocks in the chain ...
user avatar
2 votes
1 answer
942 views

How to get an uncle number using uncle hash?

Let's say, we have following block: https://ropsten.etherscan.io/block/7375 It has two uncles: 0xa9e3fe7090c12fd6db3cec305d21437b0c968188becafc099f4324964015d27a ...
user avatar
1 vote
1 answer
2k views

Different uncles reward [duplicate]

I'd like to understand how uncles reward is calculated. https://ropsten.etherscan.io/block/4447 https://ropsten.etherscan.io/block/2560 We have two calculated blocks, both of them have 2 uncles, ...
user avatar
8 votes
2 answers
2k views

Difference between uncle block and forked blocks

For example https://etherscan.io/uncles and https://etherscan.io/blocks_forked, what difference between them?
user avatar
  • 567
4 votes
1 answer
566 views

Are there still uncles with proof-of-stake?

As I understand, with PoS the selected validator is determined within predictable time windows. Does this mean that uncles will be gone for PoS?
user avatar
  • 2,450
2 votes
1 answer
1k views

How many Uncles (Ommer) can be included and how is the reward distributed

how many uncles can one block include? I think I read somewhere that you can only include maximum 2 uncles, is that true? If a block includes 2 uncles or more, how is the reward distributed between ...
user avatar
  • 265
10 votes
1 answer
1k views

What happens to transactions in Uncles?

I understand that each node has a transaction pool, which is used for adding transactions to the block. What happens to the transactions when a miner's block is declared invalid? Also, how are ...
user avatar
  • 175
28 votes
3 answers
4k views

What is the exact "longest chain" rule implemented in the Ethereum "Homestead" protocol?

This paper from 2016 claims (in section 3.3.2, speaking about the actual Ethereum implementation as opposed to the specification) that: although uncle blocks that are included in a block receive a ...
user avatar
2 votes
1 answer
213 views

Solutions for orphan rate in Casper PoS? [closed]

What are some possible solutions to deal with the increased orphan rate when Ethereum shifts to its Proof-of-Stake system, Casper?
user avatar
  • 3,835
8 votes
2 answers
1k views

How do miners decide which block should be an ommer block?

Let's say there is a fork and there are two valid blocks. How do the miners choose which block to work on if they receive both the valid blocks at the same time(Is this possible?)? After this decision,...
user avatar
  • 3,835
4 votes
1 answer
160 views

Should uncles factor into average network block time and difficulty calculations?

It's unclear to me if uncles should factor into averages like block time and difficulty. The fact that they are associated with a parent block and have a timestamp and difficulty, leads me to believe ...
user avatar
  • 117
1 vote
1 answer
944 views

What are uncles? [duplicate]

E.g. Etherscan lists mined uncles here http://testnet.etherscan.io/address/0x7c0d52faab596c08f484e3478aebc6205f3f5d8c#uncle ? What are they and how they differ from normal blocks?
user avatar