Block size and scalability

Among the numerous parameters that determine the efficiency of a particular blockchain, one of the leading roles is its scalability. That is, to maintain the effective speed of work with a significant increase in the number of active users and the number of transactions. And one of the ways that allows you to better adapt to the increase in network load is to increase the block size. Therefore, we will consider this point in more detail.

Why is block size so important?

Let's start with the fact that the term "blockchain" itself is translated as "blockchain". Each individual block represents a certain amount of data that stores information about transactions. Given this volume, as well as the speed of generating new blocks, you can calculate how many transactions per second (TPS) the blockchain is capable of supporting. Obviously, the higher the number, the better. Therefore, developers are actively looking for ways to improve it.

And in the context of using cryptocurrencies, this is especially true. After all, Bitcoin, even with all the second level solutions and other additions, gives out a maximum of 7 TPS. And Ethereum - up to 15. For comparison, the Visa money transfer system generates up to 1,700 transactions per second. Therefore, in order to start making real competition to traditional financial systems, cryptocurrency projects must significantly increase the speed of their work. However, simply increasing the block size is a temporary solution and may lead to some problems in the future. Fortunately, there are other options for action, and we will now try to analyze some of them.

How exactly can blockchains scale?

There are two main categories of solutions to this problem - on-chain and off-chain. Each approach has its own pros and cons, so there is no single decision about what is more effective and more promising.

Scaling within the chain. It implies changing the work of the chain itself in order to make it more efficient. The following options exist:

Off-chain scaling. These are solutions that improve performance without changing the way information is stored in the main chain. They are also called “second level solutions”. The most effective were the following options:

Arguments for and against increasing the block size

Many believe that the key to wider adoption of the Bitcoin blockchain lies solely in increasing block sizes. Because this will not only increase the total number of transactions, but also reduce costs. That is, the network will become both faster and cheaper. Also, the enthusiasts of "increase" emphasize that both sidechains and second-tier solutions are still at the stage of "finishing up" and are not ready for mass adoption.

But there are also some problems here. At the current level of technical development, node owners have no problem loading new blocks. And it won't, even if we increase their size to 32 MB. However, if this process continues and the size increases to gigabytes, problems will begin. Both with the bandwidth of the Internet and with the amount of memory on computers. Therefore, blockchain will cease to be a network for "everyone and everyone", but will become a tool for "everyone with a really advanced computer, and even better - with a server or a system of servers." That is increased centralization.

Also part of the problem is that as the block size increases, it becomes more difficult to "mine". More information needs to be processed to find a hash. And if now ordinary users can somehow compete with mining pools, then with an increase in the amount of processed information, they will have no chance. This also means greater centralization and greater ability to intercept network control.

How are things going with solving the problem at the moment?

The Bitcoin blockchain has not changed by the day of publishing of this article the nature of the blocks used since the introduction of the SegWit protocol. But he actively developed second-level solutions and sidechains. They made it possible to use bitcoins for everyday purchases. In terms of block increase, BitcoinSV went even further than Bitcoin Cash, increasing their size to 2 GB. This, however, only led to an increase in the cost of maintenance and regular data loss.

But this is not the limit. The ILCOIN project uses the RIFT protocol, which, according to its creators, allows you to create blocks up to 5 GB in size and provides TPS at the level of 100 thousand. This is possible due to the fact that each large unit of information storage consists of smaller formations (only 25 MB) that do not need to be mined individually, since they are automatically generated by the "parent block".

The Ethereum blockchain hopes that the new proof-of-stake consensus algorithm Casper will help to cope with scaling.

As part of the Cardano project, the Hydra system was developed, within which each user generates 10 "heads", each of which works as an independent channel that increases the network bandwidth.

Conclusions

Despite the significant work done by the developers, there is still no universal, safe and effective solution to the problem of scaling. Yes, all of the above solutions contribute to more efficient use of cryptocurrencies, but they are not perfect. In addition, much depends on the individual characteristics of the projects. So development is still underway.