by patio11 · 9y ago · 0 comments
Blockchain is the world's worst database, created entirely to maintain the reputations of venture capital firms who injected hundreds of millions of dollars into a technology whose core defining insight was "You can improve on a Ponzi scam by making it self-organizing and distributed; that gets vastly more distribution, reduces the single point of failure, and makes it censorship-resistant."
That's more robust than I usually phrase things on HN, but you did ask. In slightly more detail:
Databases are wonderful things. We have a number which are actually employed in production, at a variety of institutions. They run the world. Meaningful applications run on top of Postgres, MySQL, Oracle, etc etc.
No meaningful applications run on top of "blockchain", because it is a marketing term. You cannot install blockchain just like you cannot install database. (Database sounds much cooler without the definitive article, too.) If you pick a particular instantiation of a blockchain-style database, it is a horrible, horrible database.
Can I pick on Bitcoin? Let me pick on Bitcoin. Bitcoin is claimed to be a global financial network and ready for production right now. Bitcoin cannot sustain 5 transactions per second, worldwide.
You might be sensibly interested in Bitcoin governance if, for some reason, you wanted to use Bitcoin. Bitcoin is a software artifact; it matters to users who makes changes to it and by what process. (Bitcoin is a software artifact, not a protocol, even though the Bitcoin community will tell you differently. There is a single C++ codebase which matters. It is essentially impossible to interoperate with Bitcoin without bugs-and-all replicating that codebase.) Bitcoin governance is captured by approximately ~5 people. This is a robust claim and requires extraordinary evidence.
Ordinary evidence would be pointing you, in a handwavy fashion, about the depth of acrimony with regards to raising the block size, which would let Bitcoin scale to the commanding heights of 10 or, nay, 100 transactions per second worldwide.
Extraordinary evidence might be pointing you to the time where the entire Bitcoin network was de-facto shut down based on the consensus of N people in an IRC channel. c.f. https://news.ycombinator.com/item?id=9320989 This was back in 2013. Long story short: a software update went awry so they rolled back global state by a few hours by getting the right two people to agree to it on a Skype call.
But let's get back to discussing that sole technical artifact. Bitcoin has a higher cost-to-value ratio than almost any technology conceivable; the cost to date is the market capitalization of Bitcoin. Because Bitcoin enters through a seigniorage mechanism, every Bitcoin existing was minted as compensation for "security the integrity of the blockchain" (by doing computationally expensive makework).
This cost is high. Today, routine maintenance of the Bitcoin network will cost the network approximately $1.5 million. That's on the order of $3 per write on a maximum committed capacity basis. It will cost another $1.5 million tomorrow, exchange rate depending.
(Bitcoin has successfully shifted much of the cost of operating its database to speculators rather than people who actually use Bitcoin for transaction processing. That game of musical chairs has gone on for a while.)
Bitcoin has some properties which one does not associate with many databases. One is that write acknowledgments average 5 minutes. Another is that they can stop, non-deterministically, for more than an hour at a time, worldwide, for all users simultaneously. This behavior is by design.
I can go on, and probably will some other day. This is a bit of a hobby for me.
The problem with Bitcoin is the costs associated with using it. Due to its decentralised nature it will always be more costly than centralised solutions. Therefore, Bitcoin simply cannot compete unless illegal activities are involved. The economics simply do not work out.
That's a really sweeping claim and I'd argue that it's too soon to really claim one way or another.
The security of bitcoin is inherited from it's decentralization. The massive proof of work operations in Bitcoin (and the resulting costs) are part of bitcoin's security.
Centralized solutions will always be vulnerable as long as security bugs exist (have you ever heard of a completely secure database?) And fraud will always be part of the equation.
So what's better? Currently no one knows. But interestingly enough the direction of bitcoin right now is to build centralized networks on top of a decentralized network.
The decentralisation is stupendously inefficient, Proof of Work is 47kg of carbon per transaction literally wasted, and it all centralises anyway - the code is controlled by just a few people, the mining is controlled by four miners (and there is no guarantee they are owned separately), most of the mining is in one country and 75% is about to be in one building.
Bitcoin decentralises things that don't need to be decentralised, wastefully, then naturally recentralises anyway.
I tried to pick apart the rest of your post but damn if you're not an eloquent writer. You pretty much covered every angle. My only real complaint is your point that "Bitcoin is claimed to be a global financial network and ready for production right now."
Bitcoin isn't claiming anything, it IS a global financial network being used in production right now.
except, of course, for all the fraud, thefts, exchange collapses, "hacks" and sorry-for-your-loss events in every other part of how Bitcoin works in practice. Except for the fraud, it's completely free of fraud!
How so? Are you saying that when a trojan on my machine accesses my bitcoin wallet and sends all of my bitcoins somewhere, is it not "fraudulent transaction"? Because these things happen, you know.
I obviously can't predict the future use cases, but an example off the top of my head might be something like a country issuing social security numbers at birth using the blockchain. Suddenly that "expensive" operation can be seen as extremely cheap given the utility. Go ahead and attack the example, but like I said, just something off the top of my head.
To take your example, a country issuing identification numbers does not have a trust issue. The people generally trust the government to correctly issue and record an ID number.
However, for argument's sake. People can counterfeit drivers licenses, or passports. Good luck trying to counterfeit something on the blockchain.
Edit: to expand on this, think of a poor country who doesn't have their technology up to par as a 1st world country. To build the infrastructure to even have that government database is costly versus using an already existing infrastructure to do most of the heavy lifting.
1) It seems like the term "block chain" as used by block chain companies is pointing to what the bitcoin blockchain is but without the proof of work. So, a database which history could be cryptographically audited.
2) I don't think those are necessarily bad points for Bitcoin. Maybe it is run by speculators or gold diggers but in the end many people (including me and friends) have used/are using bitcoin for legitimate reasons.
Doesn't git already meet that requirement?
The cost of hashing only has to do with the creation of blocks. Which blocks are not required to be cryptographically verifiable.
Blockchain is not a database. It's a document timestamping service (document being a short program that describes where goes what part of a coin, in the case of Bitcoin), it's just a service that doesn't use a central place or a trusted third party to produce (or keep) timestamps.
If you were to use it as a database, then no wonder it would suck horribly. It wasn't designed for that.
Aaron Voisine has done an incredible job with breadwallet, highly recommended.
Almost everyone knows how to handle real-life concerns like that with traditional currency. If you want something new to get any sort of adoption, people are going to need satisfying answers before they'll feel comfortable putting real value into it.
If you ever lose your phone you can recover your wallet with this phrase.
https://www.reddit.com/r/Bitcoin/search?q=lost+wallet+help&r...
In a distributed consensus environment a substantial number of proofs of work (in Bitcoins case a hash) must be performed to gradually ensure that a block in the chain is consistent and thus come to a consensus that it is in fact valid.
In Postgres a transaction can be verified and guaranteed to be consistent among nodes using a two phase commit protocol. Essentially a transaction is attempted, verified, and then committed by the nodes of the network in a guaranteed, and very secure, manner.
The upside to the Postgres method is you do not need a substantial number of individual processors to perform proof of work to securely verify consistency.
Distributed transactions in an RDBMS requires trusting all the hosts it runs on.
https://www.postgresql.org/docs/9.2/static/warm-standby.html...
Or on top of LevelDB or sqlite if you look at google's implementation of it:
https://github.com/google/certificate-transparency#software-...
The source of truth for certificates is certificate authorities. Certificate authorities by definition must trust the claims other authorities make about what they issued. There's no need for "proof of work". There's not even any distrust.
There's a need for an audit log, an append-only database, replication, and distribution of data.
There is no need for solving the generals problem, for hashing, for confirmations, for any of the blockchain really.
In fact, lets talk about faxes. We still have these relics of the past generation in our offices. Why? Because it acts as a mechanism to collect and store timestamp events. Blockchain precisely does that.
How about a blockchain implementation that solves this problem?
I have seen zero actually feasible use cases for blockchain outside cryptocurrencies, and those only have a use case for illicit transactions.
The usual proposal I see put forward for non-cryptocurrency blockchains is a general coordinated database of everything in an industry, so all players can see what's happening.
The problem here is having common data standards at all, which is not a problem that storing it in a blockchain will solve.
The first barrier to common data standards is business models built on obscurantism; the second is that nobody wants to make the body setting the standard into the natural monopoly it will become, which is not a problem that a blockchain will solve.
The solution is for a player to come up with an open royalty-free data standard so naturally compelling that everyone adopts it, and eventually your regulator says "you know what, use this one."
This does not involve a blockchain.
https://en.wikipedia.org/wiki/Trusted_timestamping
NB Having worked in the area I find document security (particularly authenticity) to be a fascinating subject and its not inconceivable that a blockchain based solution could be interesting but I'd love to see how such a thing would actually work in practice and some kind of idea why it is better than earlier approaches.
"because blockchain" isn't really an argument.