10-Steps transaction mining process thread.

What are the main steps in the process of the mining of a new transaction on Ethereum?

Let's see this in 2 minutes in this thread.

10 Steps:

1 Transaction signing
2 Transaction broadcast
3 Request added to mempool
4 Transaction request aggregation
5 Miner awards transaction fee
6 proof-of-work certificate
7 Block broadcast
8 Other nodes' verification
9 Mempool cleanup
10 New nodes sync

Start
1 Transaction signing

A user writes and signs a transaction request with their account using the private key.
2 Transaction broadcast

The user broadcasts the transaction request to the entire Ethereum network from a node.
3 Request added to mempool

Each node in the network adds the request to their local mempool.

A mempool is a list of all transaction requests that have not yet been committed to the blockchain in a block.
4 Transaction request aggregation

After some time, a mining node aggregates many transaction requests (from dozens to hundreads) into a potential block.

By doing this the transaction fee earned while still staying under the block gas limit is maxed.
5 Miner awards transaction fee

The mining node:
- verifies the validity of each transaction
- executes the code of the request

This second step alter the state of the local EVE

The miner awards the transaction fee! Profit!
6 proof-of-work certificate

When all block transaction requests have been:
- verified
- executed

the mining node begins the process of the creation of the proof-of-work certificate for the block.

Eventually, the certificate for the request is produced.
7 Block broadcast

The miner then broadcasts the completed block.

The completed block includes:
- the certificate
- a checksum of the new EVM state.
8 Other nodes' verification

Other nodes:
- verify the certificate
- execute all transactions on the block
- verify that the checksum of the new EVM state matches the miner's block one.
- append the block to the blockchain's tail
- accept the new EVM state as the canonical state
9 Mempool cleanup

All the transactions in the new block from the nodes' local mempool of unfulfilled transaction requests are removed.
10 New nodes sync

New nodes:
- download all blocks in sequence (including the block with the new transaction).
- initialize a local EVM copy.
- execute every transaction in every block of their local EVM.
- verify state checksums at each block.
if you liked this thread, follow @FrancescoCiull4 for more and RT this tweet. Thank you

• • •

Missing some Tweet in this thread? You can try to force a refresh
 

Keep Current with Francesco Ciulla

Francesco Ciulla Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @FrancescoCiull4

Feb 3
🎯Centralization VS 🌐Decentralization thread.

Do you remember NAPSTER?

If YES, sorry you are old my friend.

It was a centralized system for distributing pirated music.
Turned off the server, it stopped working.

Let's see PRO/CONS of centralized VS decentralized systems

Image
Table of Contents:

Network
Performance
Conflicting Data
Points of Failure
Coordination
Censorship
Participation

Network

🎯Centralized
- All participants are connected to the central authority.
- Info propagates quickly.
- The central authority handles propagation.

🌐Decentralized
- Participants may be many edges away from each other.
- Information broadcasts may take a long time
Read 10 tweets
Feb 1
🔲Ethereum Mining and mining pools thread.

What is mining and what are mining pools?

Let's see it in 1 minute.

Web3 threads. Mining and mi...
Table of Contents

- What is mining?
- Why miners?
- Who can become a miner?
- Cost of mining.
- Mining polls.

What is mining?

Ethereum uses the proof-of-work consensus mechanism.

Mining: the process of creating a block of transactions that are added to the current Ethereum blockchain.

Ethereum miners use their time and power to:
- process transactions
- produce blocks.
Read 8 tweets
Jan 29
🔲The Merge thread.

In 2022, is planned one of the most important moments for Ethereum: the Merge.

The Beacon Chain will merge into the Mainnet.

And we complain about Git conflicts.

Ethereum enthusiasts are waiting for it as Marvel fans were waiting for "Avenger Endgame".

Web3 thread. The Merge. a blender with a beacon and the ethe
Table of Contents

What is the Merge?
Merging with Mainnet
After the merge
When?

What is the Merge?

The Mainnet currently works with the proof-of-work consensus.

The Beacon Chain, already shipped in 2020, runs in parallel using proof-of-stake.

The MERGE is when these two systems will collapse in a single one.
Read 7 tweets
Jan 28
🔲The Beacon Chain thread.

The Beacon Chain is an exciting new feature for Ethereum.

You can think about it as a lighthouse for the Ethereum Blockchain.

It will introduce:
- staking
- shard chains

Let's see the key concepts.

Web 3 threads. Beacon Chain
Table of Contents

- Definition
- What will the Beacon Chain do?
- Beacon Chain & staking
- Beacon Chain & Shard Chains
- Connection with Mainnet
- Shard Chains release
- Beacon Chain's shipping date
Definition

The Beacon Chain is a brand-new, proof-of-stake blockchain.

You can think of the Beacon Chain as the main spine that will support the new Ethereum 2 system

It will coordinate all the concurrent actors.
Read 10 tweets
Jan 27
🔲Shard Chains thread.

Today's thread was the most exciting one so far.

Shard chains could decide the future of the Ethereum blockchain (in a positive or negative sense).

Here are the concepts of sharding.

Web3 threads. Shard Chains
Table of Contents

- What is sharding?
- Basic concepts
- When is sharding shipping?
- Everyone can run a node
- Sharding & Validators
- More devices => More security
- Shards & Beacon Chain
- Shards & The Merge
What is sharding?

"Sharding" is the process of splitting a DB horizontally to spread the load.

For Ethereum, sharding will create new chains (the shards)

Sharding will:
📉 reduce network congestion
📈 increase transactions per second

This is not just for scalability
Read 10 tweets
Jan 26
🔲Proof of Stake thread.

After the proof of work thread, the proof of stake thread is a must.

This is the new consensus that will be used by Ethereum.

Many concepts will require a dedicated thread in the future

Image
Table of Contents:

- What is Proof of Stake (POS)
- POS & Validators
- Attesting
- Sharded Chains
- Beacon chain
- How validation will work
- Committee
- Epoch
- Crosslink
- Finality
- Security
- POS Pros
- POS Cons
What is Proof of Stake (POS)

Users stake their ETH to become VALIDATORS.

Validators responsibilities:
- ordering transactions
- creating new blocks

Improvements:
✅more energy efficiency
✅reduced HW requirements
✅more centralization immunity
✅more nodes
✅shard chains
Read 16 tweets

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Don't want to be a Premium member but still want to support us?

Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal

Or Donate anonymously using crypto!

Ethereum

0xfe58350B80634f60Fa6Dc149a72b4DFbc17D341E copy

Bitcoin

3ATGMxNzCUFzxpMCHL5sWSt4DVtS8UqXpi copy

Thank you for your support!

:(