Connect with us


Inside the blockchain developer’s mind: The upgradeability crisis



This is Part 1 of a three-part series in which Andrew Levine outlines the issues facing legacy blockchains and posits solutions to these problems. Read Part 2 on the vertical scaling crisis and Part 3 on the governance crisis as they go live on Sept. 24 and 25.

It is our belief that there are three fundamental problems, or crises, that are standing in the way of blockchain adoption: upgradeability, vertical scaling and governance. In this article, we are going to explore the upgradeability crisis and how computer operating systems could serve as a useful analogy that holds the secret to resolving this crisis and enabling blockchains to achieve mainstream adoption.

The most powerful concept for understanding the upgradeability problem is “antifragility.” Proposed by Nassim Taleb, antifragility is a property of systems that improve when stressed. Fragile systems can seem to be working great most of the time, but when stressed, they fall apart, or “blow up.”

Antifragility is a property that emerges from multilayered, hierarchical systems that contain fragile subunits that by breaking/dying/blowing up result in an overall healthier system. In nature, we call this process evolution. Evolution occurs when a species replaces a less successful trait with a more successful trait. In computing, we call such improvements “upgrades.”

The problem with the major blockchains we know today is that they weren’t designed to be upgraded, which means they can’t evolve. The reason why evolution is so important is that it enables systems to survive “black swans,” which are highly unpredictable events with severe consequences. Not only can antifragile systems survive black swans, they actually get better from them.

In blockchains, there are virtually no separate layers with fragile subsystems that enable healthy adaptation to stressors. Instead of designing from a perspective of humility, the creators try to present themselves as infallible visionaries who have designed a perfect system that immediately deserves a high valuation.

Maps drawn before territory explored

There is no greater proof of this than the reliance on hard forks for system upgrades. A hard fork is the opposite of an upgrade path. It is tossing out the old system and replacing it with a new one.

There is, however, a silver lining to this analysis, which is that the solution is less about breaking through technical barriers than it is about breaking through psychological barriers. We aren’t designing blockchains from first principles, but are still primarily iterating on top of preexisting architectures like those in Bitcoin and Ethereum.

There are many ways to implement a blockchain, but we often assume that the way in which these protocols implement some component of the blockchain is by default the “right way.” These protocols totally frame the way we look at these issues, leading us to create mental “maps” of the problems that were “drawn” before we had even begun exploring this new territory.

Bitcoin and Ethereum were essentially the first decentralized computers. As with any new computing paradigm, in the early stages, engineers and developers are focusing their attention on whether they can even use the technology to solve a specific problem and, if so, use it to build their application. There’s no tooling and no platforms they can take advantage of, so they have to build everything from scratch and optimize their stack for their specific application.

The end result is a monolithic piece of code powering an application designed to solve a specific problem.

First movers and fragile systems

These early applications can be quite successful thanks to the first-mover advantage, but when it comes to software development, the success that comes from being a first mover is illusory. The first movers in software find the features, or “behaviors,” that users will find most valuable, thereby validating the new technology.

But maintaining this advantage is nearly impossible because the application is built on a mountain of old code that few people understand or are capable of upgrading. Bugs are a nightmare to fix, and just maintaining the existing code becomes a Sisyphean task; forget improving it.

At this stage, the apps can die for any number of reasons, but the underlying cause of death is that they are fragile. The black swan that ultimately wreaks havoc on existing apps is the development of the operating system. Operating systems make it an order of magnitude easier for developers to launch the same kind of applications, with the same core behaviors featured in the first movers.

The advent of operating systems enables the technology to scale to the next level by making it easier and faster for developers to release better programs that penetrate more of the market and reach more users. Plus, it gives us another layer in the stack. Now, if one application blows up, the most critical lower layers remain unaffected.

So, problem solved, right? While first-generation operating systems provide a massive competitive advantage to the application developers who adopt the right ones, they also suffer from the same upgradeability problem of the first-generation applications. They emerge as a means of providing core features, security and a shared user base, but not to maximize upgradeability. So, they eventually become feature-bloated, complex and difficult to upgrade.

The operating system analogy

Upgrading the system requires a system reboot and reloading process that becomes longer and more disruptive the bigger and more complicated it gets. While one layer (the OS) is insulated from the mistakes made in another (the application layer), the OS itself remains fragile.

Blockchains like Ethereum and EOS were designed like these early operating systems. They provide core features, security, a shared user base and a programmable “user space” that developers can leverage to add the custom features they need to power their specific applications.

In the case of blockchains, the problems that plague first-generation operating systems are amplified due to immutability; they are constantly growing in size, which places additional stress on infrastructure and creates a distinct scaling challenge.

Further, because they are decentralized, upgrades must make their way through a governance process that ends, under the best of circumstances, in the execution of a coordinated effort in which all of the computers stop running the old software and start running the new software (a new “fork”) at the exact same time. This is far from easy, which is why calling it a “hard” fork is especially apt.

When certain changes require a hard fork, people are forced to bundle those changes because implementing them piecemeal would result in additional network downtime. This results in a “rider problem” similar to what we see in governmental systems where unrelated changes get attached to important changes. In other words, there is a centralization-in-time problem. Because every important thing must be done at the same time, and because people disagree on what is important, the moment in time when those changes must be implemented creates an attack vector.

Regardless, hard forks wind up being big, political, risky and, most importantly, they take down the network! This dramatically slows the rate of progress, and because every major blockchain works this way, the sector as a whole stagnates.

Antifragility through upgradeability

What we need is another layer beneath the operating system that enables the entire system to evolve. In operating systems, that layer is called a BIOS — a basic input/output system. But it’s important to remember that we are only using operating systems as an analogy. We need to construct this layer from first principles specifically for use in blockchains. That layer, like every other layer, must be made up of fragile subunits that can somehow “break” without blowing up the system as a whole.

The creation of the BIOS was a critical step for mainstreaming computers because it enabled developers to rapidly build, test and iterate upon the applications that would make personal computers useful to ordinary consumers.

If we want to cross that same chasm, we don’t just need a better blockchain OS, we need an operating system that is built on a BIOS-equivalent for the specific purpose of upgradeability.

We must be able to add any feature to the blockchain without requiring a hard fork. This will enable the blockchain to adapt to stressors (attacks, bugs, missing features, etc.), improve itself, and scale to meet the needs of the masses.

Until that day comes, the quality of blockchain-based applications will continue to stagnate, and the space will remain dominated by projects that might look like they are working on the surface but that aren’t being widely adopted, are inherently fragile and will one day “blow up.”

The views, thoughts and opinions expressed here are the author’s alone and do not necessarily reflect or represent the views and opinions of Cointelegraph.

Andrew Levine is the CEO of OpenOrchard, where he and the former development team behind the Steem blockchain build blockchain-based solutions that empower people to take ownership and control over their digital selves. Their foundational product is Koinos, a high-performance blockchain built on an entirely new framework architected to give developers the features they need in order to deliver the user experiences necessary to spread blockchain adoption to the masses.

Source link


Crypto credit cards could be the missing link to mass adoption




Out of the many routes available to the mass adoption of cryptocurrencies, which includes decentralized finance (DeFi), layer-one protocols, nonfungible tokens and stablecoins, perhaps the simplest and most applicable path for the public at large is the ability to utilize cryptocurrency for everyday purchases with an integrated debit or credit card.

2021 has seen a growing number of companies offer cryptocurrency-based credit cards that give holders the chance to tap into the value of their cryptocurrencies for daily purchases, but is this just the latest gimmick being used by businesses to earn a buck or a real sign of mass adoption?

While the traditional financial sector isn’t discussed much in this newsletter because its focus is on exploring the various sub-sectors of the cryptocurrency ecosystem, crypto assets are quickly becoming a new investment class recognized by the global financial system.

Debit cards tap into crypto holdings

It’s important to clarify the differences between the card services offered by some of the largest players in the game including, BlockFi and Coinbase.

Debit cards like the one offered by allow users to convert their cryptocurrency holdings to a stablecoin that can then be transacted on Visa’s global network.

The Coinbase card and crypto debit card offered by Uphold provide a similar service, with both offering rewards for use in the form of a percentage of each purchase, paid back in Bitcoin (BTC) or another cryptocurrency, depending on the platform.

Being able to make purchases with your holdings may help bring a good use case to the cryptocurrency ecosystem, but it also goes against the “hodl” nature of many investors who subscribe to Gresham’s Law that “bad money drives out good money in circulation.”

When it comes to which money is spent and which money is saved, good money, or cryptocurrencies, in this case, will be saved while fiat currencies will be spent in daily transactions.

Crypto credit allows hodlers to continue accumulating

Credit cards like the recently launched BlockFi Rewards Visa Signature Credit Card do not require an upfront conversion of a user’s crypto holdings to pay for transactions. Instead, it offers a credit limit with an attached interest rate.

Gemini exchange plans to offer a BTC cashback rewards card on the Mastercard network. This is another example that has taken the approach of the legacy credit system by offering rewards and charging interest on carried balances.

Users can spend fiat currencies and earn cashback rewards that are paid back in the form of Bitcoin.

Paying in dollars while stacking stats lines up more with the idea of spending bad money in daily transactions while earning more crypto, but it does require users to have fiat currencies to spend.

In the case where someone only has cryptocurrencies, they would be forced to convert some of their holdings to the accepted form of repayment and possibly incur a taxable event, depending on the laws where they live.

Currently, most of the world’s population either still uses the traditional financial system or is part of the large population of the unbanked who are outside of all systems. The injection of blockchain technology and cryptocurrency is either adding another step to the process or offering a new way into a financial network.

For die-hard crypto fans that hold as much of their wealth as possible in cryptocurrency, debit card options that allow users to spend their holdings may provide the best option.

Since many crypto investors work jobs that still pay in fiat currencies, credit card options offer a way to use their income to make purchases while also continuing to accumulate without having to conduct the conversion to crypto themselves.

Related: Bitcoin payments for real estate gain traction as crypto holders seek monetization

Legacy networks will eventually integrate blockchain technology

Visa and Mastercard have fully embraced the integration of cryptocurrencies and blockchain technology into their networks. Visa recently reported that its crypto-enabled cards holders spent more than $1 billion during the first half of 2021.

It’s possible that in the near future, the entire network could be blockchain-based and users will be interacting with digital currencies on a regular basis without even knowing it.

How it all plays out long-term is anyone’s guess, but the current trend of companies releasing cryptocurrency-related debit and credit cards shows no signs of slowing down. They are a tried-and-true marketing tactic used in industries large and small to help entice new users.

Want more information about trading and investing in crypto markets?

The views and opinions expressed here are solely those of the author and do not necessarily reflect the views of Every investment and trading move involves risk, you should conduct your own research when making a decision.