86 points · by bikenaga · 2y ago · 47 comments
The trilemma claims that blockchain systems can only at most have
two of the following three properties:
* Decentralization (defined as the system being able to run in a
scenario where each participant only has access to O(c) resources,
i.e. a regular laptop or small VPS)
* Scalability (defined as being able to process O(n) > O(c) transactions)
* Security (defined as being secure against attackers with up to O(n) resources)
In the rest of this document, we'll continue using c to refer to the size
of computational resources (including computation, bandwidth and storage)
available to each node, and n to refer to the size of the ecosystem in some
abstract sense; we assume that transaction load, state size, and the market cap
of a cryptocurrency are all proportional to n. The key challenge of scalability
is finding a way to achieve all three at the base layer.
* https://vitalik.eth.limo/general/2017/12/31/sharding_faq.htm...[1] https://www.reddit.com/r/kaspa/comments/18ieda0/there_is_a_f...
In the end I believe Algorand changed their algorithms to a more centralized approach for the sake of performance as fully distributed validation did not perform adequately. Please correct me if I’m wrong.
Unless this has changed since two years ago, the relay nodes are quite centralized.
[1] https://www.coinfabrik.com/blog/uncovering-a-trove-of-algora...
https://algorandtechnologies.com/technology/solving-the-bloc...
> Currently, Algorand blocks are produced in less than 3 seconds with instant finality. The network can process 10,000 transactions per second, and at a cost of a fraction of a cent per transaction.
There is no single, universal, true ordered state (ledger/db). Participants need a conflict resolution mechanism to figure out whose truth is correct. One must rely on a localized consinstent state of some authority (leader/consensus).
I think parts of Vitalik’s points are kinda moot and break down when you examine them through the lens of “any sufficiently complicated system can and will break.”
In the case of bitcoin, the breaks are few now because it is basically static. I’m sure there’s some bugs in that codebase though… (and they’re worth a very pretty penny if you can find them!!).
Multiple large vendors that support lightning network vendors are seeing practically no usage by anyone: https://x.com/CoinCards/status/1809702144288882870
Aint' nobody else got time for that.
Hint hint hint
For the diehard technologists, it's interesting to note that Satoshi's original whitepaper called for a much larger blocksize (32MB, verse 1MB pre-SegWit/Lightning); myself, I ran BitcoinUnlimited with 16MB block acceptance well into 2018 (I'm anti anti anti SegWit/Lightning).
For some reason, years of BIPs have claimed that "1MB is necessary due to bandwidth limitations..." which even in 2017 was horseshit... but now it's 2024 and I can get 300mbps fiber for $57.99/month (with a ping <3ms).
HODL.
Bitcoin Cash (BCH) functions as Bitcoin, digital cash, still, Bitcoin (BTC) is a digital Ponzi scheme for morons run by the US government.
I say illusion of scalability because it's still hamstrung by Bitcoin in a major way. You still need to use Bitcoin to enter the system, which is a big bottleneck. For security you also need to be able to settle to the Bitcoin blockchain in a cheap and reliable way, which just won't scale with a congested blockchain.
Lightning is honestly pretty shit and it's not at all a solution to Bitcoin's problems.
If Bitcoin scalability is the problem Lightning Solves, then it almost tautologically fails when you realize that entering into a Lightning Channel requires a base Bitcoin transaction. If every person on Earth tried to take on-chain Bitcoin into a LN Channel, it would skyrocket the fee-rate.
The only other option then would be for all Bitcoin purchased to exist on Lightning, so people simply buy LN Bitcoin. This is not impractical to get started; exchanges simply send and receive LN BTC. But Lightning security relies on the ability to get a transaction posted to the base layer Bitcoin.
If everyone is using lightning, and thousands of users are attacked on Lightning at once, the chain would not be able to handle the influx and would leave many victims. Not only that, but the LN node network would naturally centralize, especially with liquidity requirements.
It would be much better to properly scale some base layer.
You set aside some funds on the global ledger and then you can use those funds to transact in a much more efficient, truly p2p manner, without touching the global ledger. Eventually, you net out everything and settle it all at once on-chain, utilizing its features to resolve any conflicts.
.. between the two parties that started the link, up to the initial value. It's so limited as to be useless. It's like a bar tab where you have to put down a deposit of the maximum amount you might spend first.
https://docs.lightning.engineering/the-lightning-network/pay...
So practically: not a good solution.
Also, the problem can be solved even more simply and elegantly than sharding by having a multi-cryptocurrency ecosystem which supports fast, decentralized, and low friction conversions exposed via the same (interoperable) transaction APIs. If the on-chain volume is sufficient on all chains, it's possible to automatically determine relative prices of tokens... In the same way that tourists from different countries can spend their native country's currency locally (conversion is not always necessary if the relative prices and volumes are somewhat stable).
If the on-chain transaction volumes of different cryptocurrencies are similar (or above a certain threshold that corresponds to the size of the businesses accepting the cryptocurrency as payment), then a business can effectively accept payment in any cryptocurrency which they know/trust the existence of since the API would be the same across all chains. So you could use the same passphrase to log into all the different chains (including ones you never heard of) and you would already have an account there. You don't need to trust the chains themselves with your passphrase, you only need to trust your wallet app since the passphrase should never be sent over the wire.
Wouldn't it be great if you could just walk up to a local business and offer to pay them in some new cryptocurrency they've never heard of which supports the same API? They could verify whether or not it meets their volume/stability and exposure requirements automatically in a couple of minutes.
We're so close to achieving this ideal. The tech already exists in various forms. We just need regulatory/taxation clarity and a bit of willpower.
Also, if we hold the Trilemma to be true then presumably some point in the network will have weaker security to improve the other 2. Thereby compromising the entire network.
You don't beat CAP/Trilemma by gluing 2 databases together.
If you can see that $1 million worth of your own coin is being exchanged for that other unknown coin each day and people are paying $50K worth of your own coin every day to cover cross-chain transaction fees, surely you can take a risk and accept that unknown coin as payment for a $100 product. The risk of the coin being a scam goes down with the amount of verifiable trade volume.
And the security of two chains does not add up, in fact, the more resources are split up between multiple chains, the less secure they all become. So this doesn't solve for the security side of the trilemma.
Also, as a business owner, you can charge an additional fee when accepting unknown or low volume coins, or coins that are backed by blockchains which have a small number of nodes.
Imagine how many more people would be able to afford to buy your products if you would accept just about any token as payment. It could be a way to gain a competitive edge and boost your profit margins by accepting riskier coins from unfamiliar communities.
It's not quite the same as if everyone could print their own money on pieces of paper; we know that wouldn't work because nobody would have an incentive to do any work to produce anything... But the opposite extreme (which is our current reality) also doesn't work; there are all these people with no money and no opportunities who could be doing business with each other, but they can't because they have no money and are not allowed to create their own money to get their parallel 'unbanked people' economy going.
The UX on this has improved significantly in just the last year or so. We have wallets, like Rabby, which interact seamlessly across multiple (many!) chains and can even switch within the same dapp on a per transaction basis. It just works.
Not being snarky but why would this be great for anyone? What would be the point?
2. Business receives funds in their preferred currency.
3. Customer gets what they want.
Not much different than me going to Vietnam with USD and then trying to buy a Nước mía (sugar cane juice) from a local vendor that can't legally accept USD.
My only alternative is to rely on a third party to convert my USD to VND. Which begs the question, why isn't this digital and why do we need the middlemen taking their cut of the transaction? Expand that out into larger purchases, which then imply you're a criminal unless you provide full KYC.
Well yeah, that's the whole point isn't it? Like, the business doesn't want to be getting paid out of ransomware ransoms, they want money in a clean currency, and so at some point someone has to exchange clean money for ransom tokens, and if you offer to do that without verification then you're essentially part of the ransomware industry and people will treat you accordingly.
It basically makes it even more opague.
This will only create a meta game for people on a meta level managing coins and arbitrage.