MT Profile picture
Sep 16 26 tweets 9 min read
Ethereum just moved to #PoS but #Avalanche and its C-Chain have been PoS for ~2 years. So, what's the big deal?

How does $AVAX PoS work?
How does its consensus algo differ from what ETH just implemented?
And can #Avalanche truly have a million+ validators one day??
The Avalanche network doesn’t use just one consensus mechanism but rather a collection of consensus protocols.

What is the Primary Network?

A three-chain (X, P, and C) system that segregates the work done by the overall network.
This enables more efficient use of network resources & the ability to process more txs simultaneously.

Avalanche’s primary network consists of three governing blockchains with diff consensus algos:

Platform (P)-Chain
Exchange (X)-Chain
Contract (C)-Chain

image @hansolar21
Avalanche uses (delegated) PoS consisting of validators and delegators.

Validators are responsible for securing the network, approving txs, and reaching consensus.

The four consensus mechanisms under the Avalanche family are Slush, Snowflake, Snowball, and Avalanche.
Ultimately, Avalanche’s consensus performs repeated sub-sampling among its validator set, needing only a subset of nodes to communicate with one another rather than all-to-all.

This results in low messaging complexity in the network, leading to faster finality.
Because of this approach, the bandwidth and processing power requirements per node stay constant even as the network grows to many thousands of validators.

Node overhead does not (materially) increase with additional nodes, same sub-sampling set no matter the total
At a practical level, this is the process of random sub-sampled voting:

1. Txs are submitted by network users and validators must then decide to either accept or reject the transaction based on the rules set by the Virtual Machine (VM) for that subnet.
2. Once a specific validator has made their decision (valid or invalid), the validator then begins polling a random portion of other nodes in the network on their decisions. Other validators do exactly the same thing simultaneously.
Roughly speaking, this is what’s known as a “gossip protocol.” A validator’s probability of being randomly polled by a peer is weighted based on the amount of AVAX stake it controls.

3. Each polled node must answer: valid or invalid...
If >50% of the randomly polled nodes agree with the initial decision, it adds to the confidence of the polling node. If the supermajority supports a diff value, the validator will switch its initial position to reflect the majority.
Because simply polling a small, random group of validators once won’t always be an accurate representation of the actual “truth,” validators will run through this process multiple times, each time sampling at random.
All nodes are working in parallel to check other validators’ tx confirmations randomly.

After enough rounds of polling, a majority position begins to proliferate and each subsequent round builds on the momentum of the previous round.

eventually becoming probabilistically true
5. This polling process will continue until a confidence threshold is met (set by the individual subnet).

Validators collect enough data via sampling that the probability of being incorrect is less than the odds of Bitcoin’s SHA-256 hashing algorithm being broken!
Once met, the txs are finalized when all validators settle on one side of the decision.

At this point, txs achieve true finality (known as “0-conf”) and no reorganization of the blockchain is possible.
In terms of validator participation, this makes Avalanche more inclusive than classical BFT systems like #Polkadot or #Cosmos because of unbounded participation per chain.

The number of chains a validator can work on depends on the chain runtime and virtual machine design.
The primary consensus mechanism used by the default asset chain is Avalanche Consensus, which builds upon Slush, Snowflake, and Snowball.

Avalanche's primary network is an UTXO-based Directed Acyclic Graphs (DAG).
A DAG is an alternative distributed ledger technology that has a tree-like architecture with roots & branches rather than a linear, sequential chain of blocks.

Connections between nodes are called ‘edges’ in network theory, and these edges are directional in DAGs.
DAGs enable the partial ordering of decisions by linking transactions together, thereby allowing for multiple transactions to be validated simultaneously rather than one after the other as in many sequential blockchains.

AKA scalability!
Avalanche consensus could work with either PoW or PoS, but Ava Labs chose PoS as its Sybil-resistant mechanism of choice.

In short, Avalanche validators must stake some capital before being allowed to vote on transactions simply to deter spam/bot/DDoS attacks.
And now we've finally reached the C-Chain (EVM-compatible) and its consensus (whew!)

Snowman Consensus
The Avalanche consensus protocol can be applied to traditional “linear chains,” as opposed to DAGs, in what @avalabsofficial calls Snowman Consensus.
Snowman enables the network’s validators to reach consensus much quicker than previous consensus mechanisms, like Classical or #Nakamoto consensus.

Snowman Consensus =Avalanche consensus, except that its architecture is linearized to make it EVM-compatible.
@el33th4xor
Linear chains follow the “longest” chain rule in which nodes on the network select the chain with the most work done as the valid chain.

#AVAX consensus prioritizes safety over liveness, meaning network will halt rather than submit anything invalid.

@TrustNodes
Up to 50% of the nodes can be malicious and try to imbalance the vote, however, they’ll be unable to do this in a way that causes two nodes to push through invalid data.
Snowman Consensus is account-based rather than UTXO-based (diverging from Avalanche consensus) to be more compatible with #Ethereum and other account-based smart contracts and dapps.
@HorizenLabs
That's all the space I have for now.

If you want to read the full AVAX report, including tokenomics, vulnerabilities, and more, check it out here

cryptoeq.io/corereports/av…
That's a wrap!

If you enjoyed this thread:

1. Follow me @mt_1466 for more of these
2. RT the tweet below to share this thread with your audience

• • •

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

Keep Current with MT

MT 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 @mt_1466

Sep 15
Underneath all the songs, pandas, and memes, the #EthereumMerge is bittersweet.

5+ years of waiting, and it's finally here!... Only, it's not like I imagined.

A thread on the ugly/glass-half-empty side of the #Merge from a long-time $ETH bull...
It's going to be impossible to make my argument and not sound whiny or a buzzkill or ungrateful or simply FUDing. That's not my intention. But like with everything, the merge comes with a cost.

However, lemme stress, this is a HUGE accomplishment. Kudos to all the devs involved
Backing up a bit.... blockchains are ONLY worth a damn if they are permissionless, neutral, secure, & censorship-resistant.

That's the truth. If you don't have those, you simply have a corruptible database.

And 99% of the thousands of projects out there don't offer these traits
Read 15 tweets
Sep 15
The #EthereumMerge was a success! But who has time to celebrate? There's still YEARS of work to be done!

In this part 2, we cover the years ahead, looking well into Ethereum’s (ever-changing) roadmap.

FYI, Part 1 is below for a refresher.
There is no official roadmap for #Ethereum, as it is predicated more on rough community consensus.

However, a high-level, noncontroversial plan stretching into 2023-24 is generally regarded as the agreed-upon path for the project.
A more technical roadmap with the progress of each step filled in was updated by @VitalikButerin in December 2021.

Specific developments are tied to future upgrades and are always subject to change.

Consider Merge 💯!
Read 24 tweets
Sep 14
@aztecnetwork is a PRIVACY-FOCUSED zero-knowledge rollup (ZKR) aiming to provide security, scalability, & privacy for #L222 blockchain transactions.

Don't think you need convincing about why financial privacy is important (hello #TornadoCash).

So, let's discuss Aztec's HOW...
@aztecnetwork Tech
Aztec leverages an in-house technology stack that focuses primarily on 2 overall protocol objectives: privacy & scalability.

ZKRs create large bundles of txs for off-chain computation in the form of cryptographic proofs known as SNARKs.
@jaosef

For a refresher...
SNARKs allow someone to prove they have a particular piece of info without actually revealing the contents of the info.

Popularized by @zcash for enabling anonymous txs, zk tech provides scaling efficiencies for the rollup chain that are then submitted to the main chain. Image
Read 22 tweets
May 11
Quick thread on @CryptoEQ Fundamental Ratings as we get TONS of questions around them.... especially in a bull market when XYZ coin is pumping and outpacing #BTC and #ETH
We list ~50 crypto assets but only have a Fundamental rating on ~30. Why so few?

Because that's all that ACTUALLY matters in the #crypto ecosystem.

And, if we're being honest, probably just 15 but we feel a bit obligated to cover the crap/scam coins in the top 30 as warnings Image
The top ~15 assets make up ~90% of the market cap.
With ~5 of those being #stablecoins and 2 are wrapped assets (#stETH and #WBTC)

So, by and large, we may seem selective but we cover 90%+ of the MC and 99%+ of what is actually legitimate, innovative, or intriguing.
Read 16 tweets
Apr 6
1/ 🧵
#danksharding, #PBS, #crList, #blob transactions...

Seems #Ethereum has an affinity for making up words these days! And it all starts with (the normal sounding) #calldata

Let's figure out why, define some of these ridiculous terms, and see how #ETH can get even better
2/ #Rollups (RU) post their compressed L2 batched transactions as calldata onto mainnet Ethereum. But what does that mean and what is calldata?
#l222
Calldata (CD) is a specific form of read-only memory data used by smart contracts to call external functions. Image
Once a RU has batched enough txs, it posts this state transition change in a compressed form to the L1 via CD.
RUs currently utilize L1 CD for data storage, which is limited to ~10KB per block. This is so anyone has the ability to reconstruct the chain & verify the latest state Image
Read 28 tweets
Mar 9
🧵 on some of the major smart contract chains, their different approaches, and how HOPEFULLY (for the love of all that is holy) we are moving away from simply "X chain is superior because it did XXXX TPS on a closed environment testnet"
#Ethereum #terraluna #Solana #AVAX
As @epolynya has alluded to several times, #TPS numbers are almost meaningless now. Especially anything under 100k.

At the risk of having this thrown in my face 5 years from now, TPS is essentially solved.
This is due to many things but some reasons include:

- #modular designs (@CelestiaOrg, #ETH + #rollups, and @avalancheavax to an extent)
- Rollups, in general, and how they can somewhat "defeat" the #ScalabilityTrilemma
- @IOHK_Charles & his giga brain (ok maybe not this 😉)
Read 22 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!

Follow Us on Twitter!

:(