🔲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
POS & Validators

POS activates validators upon receipt of enough stake (32 ETH).

Validators are randomly chosen to create blocks

They are responsible for checking & confirming blocks they don't create.

Users' stakes are used to incentivize good validator behavior.
Attesting

This validation is known as ATTESTING ("this block looks good to me").

Validators:
- don't use much computational power
- create and validate blocks
- get rewards for proposing new blocks & for attesting

⚠You attest to malicious blocks => you lose the stake.
Sharded Chains

They are new separate blockchains.

They will need validators to process transactions & create blocks.

They will have a shared understanding of the state.

They will be managed by the beacon chain.
Beacon chain

The beacon chain will coordinate the sharded chains

The beacon chain will:
- receive state info from shards
- sync network state
- manage validators
How validation will work

When you will submit a transaction on a shard, a validator will be responsible for adding your transaction to a shard block.

Validators will be chosen by the beacon chain to propose new blocks.
Committee

The attestation (not the transaction) is recorded in the beacon chain.

Committee:
- 128+ validators are required to attest to each shard block.
- has a time frame ("Slot") in which to propose and validate a shard block.
Epoch

Only one valid block is created per slot.

There are 32 slots in an "epoch."

After each epoch, the committee is disbanded and reformed.

✅This helps keep shards safe from bad actors.
Crosslink

A crosslink confirms:
- the inclusion of the block
- the transaction in the beacon chain.

The crosslink is created once a new shard block proposal has enough attestations.

💰Once there's a crosslink, the validator gets the reward.
Finality

It's when a transaction is part of a block that can't change.

The block is finalized If 2/3 of the validators agree.

Validators lose their stake if they try and revert this later on (51% attack).
Security

51% attack still exists but it's even riskier: you need 51% of the staked ETH.

This is a lot of money, and it would cause ETH's value to drop.

The beacon chain will prevent bad behavior.

Validators will be responsible for flagging incidents.
POS Pros

✅easier to run a node. If you don't have enough ETH, you can join staking pools.
✅more decentralization.
✅increased participation
✅more nodes don't mean increased % returns
✅more throughput: Shard chains allows to create of multiple blocks at the same time
POS Cons

❌Can tend toward centralization
❌POS is still in its infancy
❌Less battle-tested, compared to proof-of-work
❌May not be as secure as proof of work
if you liked this thread, follow @FrancescoCiull4 and RT the tweet below. 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

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 b...
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 25
Ethereum Proof of Work thread.

Consensus (Key Concept): the fault-tolerant mechanism used to agree on account balances and the order of transactions.

The current consensus mechanism used by the Ethereum blockchain is proof of work.

Let's see the key concepts and pros/cons.

📃Table of Contents

- Intro
- What is PoW
- PoW and Mining
- The work in PoW
- PoW and security
- 51% Rule
- PoW Finality
- PoW Energy USage
- Pow Pros
- PoW Cons
Intro

Ethereum uses a consensus protocol called Proof-of-work (PoW).

This allows the nodes of the Ethereum network to:
- agree on the state of the recorded info in the blockchain
- prevents some economic attacks.

In the future, it will be replaced with Proof-of-Stack.
Read 15 tweets
Jan 24
Ethereum Networks thread.

Key concept: Ethereum is not a network, but a protocol that can be implemented to create different networks.

The most famous, mainnet (used for Ether, the cryptocurrency), is one of them.

What's the difference between Public and Private networks?
Table of Contents

- Intro
- Public and Private Networks
- Mainnet
- Testnet
- Testnet Faucets
- List of EVM networks
- Private Development Networks
- Private Consortium Networks
Intro

Ethereum is a protocol: there are many independent networks that implement this protocol

Networks are different Eth environments to:
- develop
- testing
- prod

Your account will work across the different networks but your balance/transaction history won't carry over.
Read 11 tweets
Jan 23
🔲Ethereum Nodes as a Service thread.

Yesterday we have seen how to spin up your won node.

But what if we don't have time to do that, or we want to rely on an existing infrastructure?

Many different services exist that can do this for us.

Let's see this in 1 min.
Ethereum node services
Table of Contents:

- Intro
- Most common features
- Pros of Node Services
- Cons of Node Services
- Popular Node Services
Intro

Running your own Ethereum node can be challenging.

This is especially true if you are new to the Web3 world.

Node services run optimized node infrastructures, so you can focus on developing the app itself.

⚠Node services should NEVER store your private keys/info.
Read 9 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

Too expensive? 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!

Follow Us on Twitter!

:(