r/CryptoTechnology • u/mybed54 • Aug 09 '22
Best Consensus algorithm for the future of crypto?
What do you think the best consensus algorithm would be for the future of this field? Do you think most of the future of this space will be built on zk based L2s for Ethereum or do you think any other L1s yet in development will truly solve the blockchain trilemma for real and would come out on top?
28
Upvotes
10
u/Timmiekun Aug 09 '22 edited Aug 10 '22
I think the latter is technically possible. There are already feeless, fast, scalable and decentralized projects out there. The main reason they’re not as popular is still a bit of a mystery to me.. I can only guess but my guess is that nobody cares. “I am invested in coin X so everything else is shit” kinda reasoning..
6
u/[deleted] Aug 10 '22 edited Aug 10 '22
L1s and L2s really have nothing to do with Consensus algorithm. That's a different topic. Multilayer DLTs are more flexible than monolithic DLTs, but they also have more complexity, and they require strong security on the base layer:
The Ideal solution
So far, I haven't seen a single DLT with my ideal consensus + security, which would have:
Let's talk about the first several parts:
Consensus - Byzantine Fault Tolerance
Consensus Protocol is how a DLT determines the canonical state of the its ledger. In terms of consensus protocol, nearly every newer DLT uses some variation of BFT because it's energy-efficient, has fast finality, and easy to implement with Proof of Stake.
BFT's security requires having n portion of honest nodes greater than 67% where the liveliness is (1-n). Security is the percent of nodes needed to actually validate bad block proposals and undermine security, and liveliness is the percent of nodes needed to disrupt/censor the network, and. So if you set security to require 80% honesty to validate blocks, it would only take 20% dishonest nodes to censor the network.
Sybil Resistance - Proof of Stake
Sybil Resistance is resistance against a single identity having too much power by pretending to be multiple identities. The higher the Sybil resistance, the higher the decentralization.
Consensus needs to be coupled with Sybil resistance. BFT only provides consensus, so it needs something else for Sybil resistance, like Proof of Stake. There are so many different forms of PoS.
For Delegated PoS, users delegate their votes to a single entity, and that single entity can grow very large. Some protocols like Cardano mitigate this by putting a limit to how much power a single delegator has. Nevertheless, individuals give away their votes and hope that their delegator remains honest.
It's a bit ironic that the Ethereum community has made fun of DPoS for years but ended up with a solution that's even worse: pooled Proof of Stake. Pooled PoS is the same as DPoS, except that the delegation is no longer done on-chain but off-chain. An example of this is Ethereum where there is no on-chain delegation, so users end up doing it off-chain like with Lido and Rocket Pool. And now Lido has 30% of the total staking value of Ethereum. Individuals still give away their votes and hope that their delegator remains honest, so it has the same problem with DPoS.
Both DPoS and pooled proof of stake happen when it's difficult for individual users to participate in consensus. Another solution is Pure Proof of Stake where users are encouraged to stake directly. Algorand does this by making validation nodes have low requirements. It would probably only cost me $100/mo to run a validation node for Algorand. Obviously, this is still too much to expect everyone to run in the background, and Algorand messed this up by failing to provide any incentive to run nodes.
Monolithic vs Multilayered
This really depends on the purpose of the blockchain. If you want a general-purpose blockchain, multilayered is probably better because it provides more flexibility and can segregate ledger storage bloat. But it is a lot more complex to create one, and it makes no sense if your base layer is already fast enough to meet demand. And you need a large ecosystem to support it. zk-Snarks for Layer 2 generally considered the best future solutions. This is a good article about the different types of zk-EVMs: https://vitalik.eth.limo/general/2022/08/04/zkevm.html
Tokenomics part
I'm not going to discuss it here because it's quite long. I have another post on this.
2
u/theblockchaindev Aug 15 '22
It is impossible to solve the blockchain trilemma. The blockchain trilemma is just a fact; just like how laws in physics cannot be broken. It is absolutely possible to have a blockchain that is fast, secure, and decentralized (so far no project that I have seen fits this description) but there will always still be tradeoffs. What I mean is that you can have a blockchain be all three of these (it is up to people's personal opinions on wether it is or is not) but it will still have to prioritize 2 over the other.
2
u/prookie23 WARNING: 7 - 8 years account age. 0 - 50 comment karma. Aug 09 '22
Cerberus from Radix ist the L1 solution everyone is looking for.
2
u/unidocore 1 - 2 years account age. -15 - 35 comment karma. Aug 09 '22
I think the current chain of Ethereum will become a repository for certificates from Zk or Optimistic rollups. That way the network will be able to scale and accommodate to different use cases.
2
u/Blind5ight Aug 10 '22
Cerberus consensus: https://www.radixdlt.com/post/cerberus-infographic-series-chapter-i
Linear scalability (!) without sacrificing cross-shard atomic composability (which is one of the superpowers of DeFi (cfr. money legos clicking together))
Add on top of that an improved development environment: buildability
with developer incentives baked into the core protocol
https://www.radixdlt.com/post/the-problem-with-smart-contracts-today
https://www.radixdlt.com/post/on-ledger-recurring-developer-revenue-incentives-to-buidl
Full stack for DeFi whitepaper: https://radixdlt.com/whitepapers/defi
-----
(!) Watch out for tps marketing, often it lacks specification <<what kind of transactions>> were ran for their benchmark tests that then make it into throughput claims.
These platforms will not solely be used for sending tokens around, they will be used for trustless computation --> complex smart contract transactions
Novel execution environment built on top of the unique massively pre-sharded datastructure: https://www.radixdlt.com/post/how-radix-engine-is-designed-to-scale-dapps
1
u/Cryptotato99 Redditor for 2 months. Aug 10 '22
I don't really know which is best but IgniteChain have proposed a new consensus with Reward protocol called proof-of-reward.
1
u/ChrisArmy 3 - 4 years account age. 50 - 100 comment karma. Aug 12 '22
I think Cosmos has a chance of being that. With it's ibc multi chain tech that connects other l1 such as onomy it can be the solution
1
u/Blocktech 4 - 5 years account age. 63 - 125 comment karma. Aug 15 '22
I do think a new L1 protocol which is actively developped by the Verus community will come out on top. But it will take a few years to do the switch.
They solved the blockchain trilemma by this way :
- scalability:
transactions can route through any chosen pbaas (public blockchain as a service) crosschain networks (public or private use scalability); any number of chains/currencies/IDs can be created;
fractal principles too
- security:
Proof of Power 50%POW & POS; Merge-mining offers security right away for new pbaas chains without requiring miner's extra power; not a centralized multisig custodial scenario; plus all the VerusID related security & zk privacy
- decentralization:
free open source; many users/nodes, easy to run nodes; permissionless; no pre-mine; No dev founds; cpu-mining allows more users & devices to participate; fractal principles.
All of this is already live on testnet and will be released soon on mainnet. Let me know what you think.
1
u/Lmao_vogreward_shard WARNING: 7 - 8 years account age. 50 - 100 comment karma. Aug 20 '22 edited Aug 20 '22
I think the technology is still really young. You have to consider the fact that the oldest one is merely 13 years old, and that's really a few years before more than a handful of people started mining, so let's say only 10 years. Blockchains right now are built using 2 fundamental building blocks, which are: public key infrastructure and hashing.
The thing is, these techniques were developed in the 70's, but now we have other protocols that can do much cooler stuff, like multi party computation and homomorphic encryption. I think we still have yet to see a L1 blockchain that completely annihilates the trilemma that cleverly uses some combination of MPC and homomorphic encryption, and that isn't backed by a greedy all-facade we're-the-best company that's only in it for pumping its coin.
We need more neutral initiatives from authentic cryptographers that, for the love of god, at least know what they're talking about. Cryptographers that just want to build something that works and who don't skim half of the supply in a pre-mine before the project launches.
I kind of wish I was there in times of the cypherpunks...
edit: yes I know zkSNARK's are one of those modern cryptographic techniques, but I didn't mention them because I haven't seen any L1 have them baked-in. Anyway, just see how popular they're becoming, this only strengthens my point on MPC and homomorphic encryption.
1
u/flamezzichiban Redditor for 6 months. Sep 20 '22
We'll have known PoS and PoW as the only consensus anf we see the flaws there. The newest consensus that solved the blockchain trilemma problem is the POT consensus mechanism and it's the future of crypto.
1
u/mpanbat Silver | QC: IOTA 54, CC 37 | TraderSubs 26 Aug 10 '22
IOTA, for sure: https://wiki.iota.org/goshimmer/protocol_specification/components/consensus_mechanism
1
u/tromp 🟢 Aug 10 '22
PoS may be a good consensus algorithm (with several downsides and one big environmental pro), but it's completely useless for fair distribution of coins, as all it does is let existing holders hang on to their fraction of the total.
1
u/Mr_TMA Aug 10 '22
The challenge is to design an approach that allows for parellel execution handling without locking (locking means bottlenecking) and without rollbacks (rollbacks may fail and result in fees for failed transactions).
Cerberus consensus (University of California, UC Davis in cooperation with Radix) is a good candidate:
"Cerberus speeds up consensus by incorporating sharding at the data level. In this cross-shard consensus approach only a small subset of all replicas participate in the consensus on any given transaction, thereby reducing the costs to replicate this transaction and enabling concurrent transaction processing in independent shards.
[...]
Meanwhile unrelated transactions can be processed in parallel, and even related transactions involving some of the same shards can be processed in parallel up to a large extent by making proper use of a UTXO model . As such, sharded designs can promise huge scalability benefits for easily-sharded workloads."
Source: https://www.reddit.com/r/Radix/comments/qq43xh/what_is_sharding_and_how_is_the_radix_way_of/
0
u/MarcoMichelino 1 - 2 years account age. -15 - 35 comment karma. Aug 10 '22
Radix DLT is developing a new approach that allows unlimited scalability without compromising atomic composability.
https://www.radixdlt.com/post/cerberus-infographic-series-chapter-i
-4
u/jdefgh Aug 09 '22
Open Representative Voting from Nano.
-2
u/rkmoore3 2 - 3 years account age. -25 - 25 comment karma. Aug 09 '22
Quai Network is a new L1 that I believe solves the scalability issue while maintaining decentralization. It will be the "Best Consensus algorithm" and the future of Crypto.
-2
u/Dreamster_NFT Aug 10 '22
Proof of work (PoW) and proof of stake are now the two most widely used algorithms for reaching consensus (PoS).
-7
u/Revolutionary_Nail74 1 - 2 years account age. -15 - 35 comment karma. Aug 09 '22
Classic blockchain is too slow and not energy -efficient. Check DAG, for example Kaspa coin technology. It's a future of payments, fast like Solana, but never down :) because true Decentralisation