Skip to content

Where does the miner get the ommer block list from? #21

Answered by siladu
siladu asked this question in Q&A
Discussion options

You must be logged in to vote

Answer from @ajsutton:

The miner is importing gossiped blocks and locally building a tree of blocks (one branch of which is the canonical chain). Upon producing a block, the miner can use some of the blocks from another branch as ommers.

In practice, Ethereum's PoW mechanism and relatively fast block time makes ommers common and the included ones are usually direct ommers (parent's sibling).

There are some edge cases where the miner may be able to use their own blocks as ommers if they are building fast enough.

How does the miner decide which ommers to include?

Which ommers are used doesn't matter: they all have the same value.

Replies: 1 comment

Comment options

siladu
Jul 19, 2022
Maintainer Author

You must be logged in to vote
0 replies
Answer selected by siladu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
1 participant