Fixing blockchain's vulnerabilities
It is not about money or computing power but about how much the individual participates in maintaining the blockchain over time.
THE recent attacks on Ethereum Classic (ETC) should send a shiver down any company using blockchain, or thinking about using blockchain, for anything other than money. (And even if they are thinking of using it for financial transactions, they should still get a shiver.)
First off, briefly, what happened: Ethereum Classic (not to be confused with the Ethereum blockchain from which it split in 2016) suffered two attacks in a single week, when miners stole millions of dollars worth of the ETC currency tokens by spending them twice, via a so-called chain-reorganisation attack. The attack involved removing transactions from the blockchain history - allowing the attacker to have spent the ETC coins but then seemingly cancel the transaction to return the coin to their ownership. For an investment of US$192,000, the attackers earned US$5.5 million.
So why is this a problem? There are a couple of issues. Firstly, it should put paid to the snake oil legend that somehow a blockchain is immutable, unassailable, impregnable. This is a myth that needs to be quashed, because it does a disservice both to the technology and its user. Secondly, there is another dangerous misperception: There is no single blockchain technology. There are lots of different types of blockchain, and just as you would not choose a hatchback to go off-road, so you need to choose the type of blockchain that is appropriate for what you are trying to do.
As blockchains proliferate, and the tools to run them get more sophisticated, and the rewards for running them (called mining) fall, so we are going to see more attacks like the ones Ethereum Classic suffered. (And no, the answer is not taking legal action against the attacker. The problem is intrinsic, it is baked into the rules behind that particular blockchain. Taking legal action would be like suing someone because they beat you at chess.)
So what, exactly is the problem, and how can it be fixed?
Well, it is essentially this: How do you make it impossible for someone to take control, even for a moment, of the majority of a blockchain so they can alter - erase, roll back, duplicate - transactions that have already happened? It is the equivalent of stopping someone from hacking into a bank and reversing payments they made, or adding a few zeroes to their bank account. Only in the blockchain world, it is worse because the system relies on decentralisation - meaning there is no one around who can come in Monday morning and fix the fraudulent transactions. In theory.
The next steps do require a little poke under the hood of your average blockchain, but hopefully not too much. We need to understand the thinking behind blockchain to understand its vulnerability.
A blockchain is built by consensus, meaning that, exactly like a consensus in real life, everyone has to reach a general agreement. In the case of a blockchain, it is the nodes that have to reach a consensus on adding blocks - or bundles of transactions - to the chain (the ledger). Essentially, it comes down to this: If two chains, or ledgers, exist, how do the nodes agree on which chain they should add their blocks to. The mechanism to reach this consensus is a set of rules that ensure the nodes all make the same choice about which chain to add their blocks to.
So far, so good. But this is where different blockchain protocols use different methods. One, called proof of work, instructs nodes to choose the chain which shows evidence that it is the product of higher work - meaning that more computer processing power has been used to create that chain. So the nodes reach consensus that they should only add their blocks, their bundles of transactions, to that chain, or ledger. The other, or others, are forgotten. Another way of looking at this is that the consensus is based on evidence from outside the blockchain itself: It is looking at the computing power being used to create the blockchain, not any clues or information within the competing chains, to reach that consensus.
Another popular consensus mechanism is called proof of stake, which bases its rules on what is going on inside the blockchain itself. This is based on how many coins a particular node has committed to the process - not the amount of computing power. Those coins, of course, are stored within the blockchain.
So let's go back to the problem of someone altering the blockchain. In the proof of work case, they have to produce enough mining power - the processors doing the mathematical work to add new blocks to the blockchain - to be able to create a strongest, hardest-working chain. If they do so, then they can do anything they like to the chain. Put together enough processing power, and the blockchain is yours.
Proof of stake is a little different: The defence here is an economic one. You would need to own the majority of the coins - 51 per cent of the stake - in order to change the blockchain. So you are essentially attacking yourself. But there is a snag: While this is true if the blockchain is managing an actual cryptocurrency, then it would be prohibitively expensive, and probably a little stupid, to try to attack something you have a majority stake in. But what if the blockchain was a ledger of land titles, worth billions of dollars, and the coin being used to demonstrate proof of stake was only a few million, then the expense of mounting an attack makes sense.
The problem here, and the reason why anyone using blockchain for something other than money, is that the consensus mechanisms we have talked about are all based on economic arguments. Security is based on a simple premise: The economics of the situation govern people's behaviour. People are rational, and will work in their own interests, so as long as the rules are closely aligned to that - and ensuring that the individual's stake in the outcome matches their investment - then all will work. It is in some ways the beauty of Bitcoin, and the reason for its decade of success. But the stress-testing of blockchain has all been focused on cryptocurrencies. As soon as you manage things that are not money on the blockchain, those economic arguments for security evaporate. They no longer make sense.
So the two most popular, most dominant, consensus mechanisms have an Achilles heel. This is why the legend of blockchain's unassailability should be quietly and finally killed off.
Somehow you need to move from the paradigm that a blockchain is secure because it manages a cryptocurrency that is worth a lot of money, to one that is based on a blockchain that is going to be secure - even if you take a large chunk of the money out of it.
And this is where we at Blockchain Zoo come in - while we readily acknowledge there are a lot of other consensus mechanisms out there that also tackle the weaknesses we described above. We believe the problems with both proofs are because two things need to be separated - the financial value (the value of mining, in proof of work, and the coins as proof of stake in the latter) and the security mechanism - the way the blockchain is secured. Our approach, which we call proof of participation, separates the financial aspects and the cryptocurrency of a blockchain from the mechanics of how the blockchain is secured.
We will not bore you with the details here, but feel free to google ZooBC or proof of participation if you want to learn more. But our premise is essentially this: The measurement of one's participation in the blockchain is the guarantee that each node does its part to keep the blockchain secure. It is not about money, or computing power, and how quickly those resources can be mobilised - which is essentially the economic underpinning of these attacks - but of how much the individual participates in maintaining the blockchain over time.
Think of it more as how often someone turns up for boring committee meetings as being a measure of whether they are eligible to become chairman and take over the committee, or change the constitution, not simply about how many votes they buy. Participation means just that: a measure of their contribution to keeping the blockchain running.
We believe this approach - with, of course, lots of other refinements we have added - offers the best hope to avoid the attacks that we saw Ethereum Classic suffer earlier this month, as well as dozens of different, theoretical and real, assaults which blockchains face as the technology evolves. Just as there is no single blockchain technology, there is no single blockchain attack, so we need the best possible approach to fend them off.