Where can I find a description (preferably a diagram like below) showing the block structure in an Ethereum blockchain?
Ethereum Stack Exchange is a question and answer site for users of Ethereum, the decentralized application platform and smart contract enabled blockchain. It only takes a minute to sign up.Sign up to join this community
Lets first start with my adaptation of this figure illustrating the Bitcoin block structure:
So far so good. All fairly basic.
The header field definitions are available in section 4.3 of the yellow paper.
The description can be found in the Yellow Paper which is the formal specification of the Ethereum protocol.
Here are the main pieces of a block:
4.3. The Block. The block in Ethereum is the collection of relevant pieces of information (known as the block header), H, together with information corresponding to the comprised transactions, T, and a set of other block headers U that are known to have a parent equal to the present block’s parent’s parent.
No diagram though (an opportunity for the community).
Here's a picture from V's article regarding data structures for light clients:
Vitalik Buterin gives a compact answer:
Every block header in Ethereum contains 3 trees for three kinds of objects: Transactions, Receipts (essentially, pieces of data showing the effect of each transaction), State.
You can read a longer version with pictures here.
Extrapolating from the syntactic block structure, we can also ask what the semantic ethereum world state structure looks like. I use this diagram to explain the relationship between "on-chain", "off-chain", and everything in between, including L2 scaling solutions. Please see my accompanying blog post for more details.
Here is my interpretation based on the latest version of yellow paper(BERLIN VERSION beacfbd – 2022-10-24)
here is the whole link: https://medium.com/@JanessaTech/ethereum-a-latest-interpretation-of-yellow-paper-29ec14d05867