SimpleCrypto

The Ethereum Blockchain

The Ethereum Blockchain

Ethereum is a decentralized network that enables not only transferring value but also running code and applications on the blockchain.

The system relies on a blockchain, which is a public ledger recording all transactions and smart contract operations.

Who runs the network

The network is maintained by nodes—computers that run Ethereum software and keep a full copy of the blockchain.

A node is a computer that verifies that all rules are followed.

These rules are called the Ethereum protocol.

The consensus mechanism

Ethereum currently operates using Proof of Stake.

In this mechanism, there are no miners and no mining.

Instead, there are validators.

A validator is a participant who deposits 32 ETH as collateral.

If they act against the rules, part of their deposit may be slashed.

The selection of who proposes a new block is done via a probabilistic mechanism tied to the amount of coins staked.

How long does it take to create a block

On Ethereum, a new block is created roughly every twelve seconds.

The time is not completely fixed, but revolves around this timeframe.

How many transactions are in each block

Each block records anywhere from tens to hundreds of transactions.

The exact number varies based on the complexity of the actions.

The network's average throughput is about fifteen to twenty transactions per second.

How a transaction is created

When someone sends ETH or triggers a smart contract, a digital transaction is created.

A smart contract is software that runs on the blockchain and executes automated actions based on predefined conditions.

Every transaction consumes Gas, which measures the computational effort required on the network.

Gas is a pricing mechanism that prevents congestion and encourages efficient resource usage.

What is a block

A block on Ethereum contains:

A list of transactions A hash (digital fingerprint) of the previous block A state root representing account balances A state root representing smart contract states A timestamp of creation

Blocks are linked together using the hash of the previous block, creating a chain.

What is a Hash

A hash is a digital fingerprint produced by a mathematical function.

Ethereum uses a cryptographic hash function called Keccak.

A hash is a fixed-length number consisting of binary bits (zeros and ones).

Even a tiny change in the data results in a completely different output.

What is State

State is the condition of the system at a given moment.

It includes all account balances and the current state of every smart contract.

Ethereum stores a state root inside every block.

This makes it possible to verify that past states haven't been altered.

How a block is accepted

A selected validator proposes a new block.

Other validators inspect the block.

If the block meets all rules and achieves the required majority approval, it is added to the chain.

The validator's signature serves as proof that they approved the block.

Layer 2

To increase capacity, Layer 2 scaling solutions were developed.

Layer 2 on Ethereum includes networks known as Rollups.

A Rollup bundles many transactions off the main chain and posts a summary back to the main blockchain.

This enables thousands of transactions per second while still inheriting the security of the main network.

Why it's hard to alter history

If someone tries to tamper with an old block, its hash changes.

As a result, all subsequent blocks will no longer match.

In addition, validators that fail to follow the rules risk losing their staked deposit.

Therefore, there is a strong economic incentive to keep the system honest.

Summary

Ethereum is a decentralized blockchain that enables both value transfers and code execution.

A new block is produced roughly every twelve seconds and contains anywhere from tens to hundreds of transactions.

The system is built on Proof of Stake rather than mining.

Additional layers provide higher scalability while retaining the underlying security of the main network.