0.0798 s - время 148 - запросов

We use cookies in order to improve your experience while using our website. If you continue to use our site, you accept our Cookies Policy, revised Privacy Policy and updated Terms of Use.

BTC $ 4066.40055005 (0.99 %)
ETH $ 140.245752064 (0.73 %)
XRP $ 0.3183226674 (0.38 %)
LTC $ 60.614772694 (1.22 %)
EOS $ 3.7710822591 (0.79 %)
BCH $ 162.468997462 (0.1 %)
XLM $ 0.1154400361 (3.41 %)
BNB $ 15.6794196447 (0.88 %)
USDT $ 1.0148929565 (0.36 %)
TRX $ 0.0230227531 (0.57 %)

Transaction. 2. Size Of Transaction And Scalability Problem

09:00 09/12/2018
Size Of Transaction And Scalability Problem

Introduction

 

In the previous article, we have described main components of blockchain transactions. Now it’s time to talk about some volume issues.

 

Each transaction contains at least one record for the input and one record for the output. In regard to the overall value of transferred funds, there is no fundamental difference how many units are used to compose a transaction. But when it comes to a memory size, this amount does matter. A single transaction size increases depending on the number of units that was set to transfer. As a result, the number of transactions in a block decreases.

 

Transfer options

 

Let’s assume that a user needs to transfer 1 BTC. He or she can specify 1 BTC as a solid money unit. After a block with the transaction inside is closed, the value on the user’s account will decrease by 1 BTC, while a recipient’s account value will gain 1 BTC. Due to the nature of money accounting inside transactions, such a transfer may be simply presented as a pair of records from a previous input message and a further output message.

 

At the same time, the 1 BTC transfer may be presented as the transfer of two 0.5 BTC units, or ten 0.1 BTC units. In these cases, each unit should include an input messages record with its own address and service data. Therefore, the smaller units will be included in a transaction, the more place the transaction will occupy.

Single bitcoin transfer transactions
Single bitcoin transfer transactions

After multiple exchanges, solid bitcoins will be divided into smaller units. This will lead to the increase of the average transactions size and the decrease of the transferred nominal value. Besides, with the growing popularity of the Bitcoin protocol, the number of participants willing to transfer assets raised as well. This and other reasons caused a serious problem called the scalability problem.

 

Some background

 

Initially, the Bitcoin proposal did not contain any fundamental restrictions of the block size. But soon, this volume was limited to one megabyte. Once the number of transactions increased, it took some of them several hours or even days to be added to a block. Of course, users were not satisfied with this situation.

 

As the blockchain network was growing, the Bitcoin community and the blockchain developers started looking for ways to solve the problem. One of such solutions was the increase of a block size. During the discussion, the community’s opinions were divided, which soon led to protocol separation into several versions. Each version is now supported by its own audience.

 

Alternative solutions

 

Apart from the change of a size, there were also solutions with a dynamic variation. Gavin Andresen and Mike Hearn suggested periodically increasing the block size over several years. Jeff Garzik recommended to change the block size through the voting among users.

Alternative solutions

There were also other ways to reduce blockchain overload. One of them was the increase of the blocks’ frequency. Some developers suggest partially moving data out of the block transactions part to side chains, which doesn’t actually solves the main task. The Lightning Network (LN) protocol allows carrying out multiple transactions via the channel without approving them each time. This approach became available due to another solution called Segregated Witness (or SegWit).

 

In contrast to other approaches, involving side chains, SegWit moves data inside of a transaction and slightly changes content accounting rules. As a result, the efficient block size increased by around 1.8 times.

 

Afterword

 

Bitcoin is basically developed in such a way that concepts of transaction, block and mining on blockchain give no opportunity for the system to grow, even if it is necessary. Significant efforts were applied to reduce the number of transactions, but it did not solve the problem completely. From this perspective, the SegWit implementation was very successful.

Found a mistake? Highlight it and press Ctrl + Enter to notify the administrator.

Up-to-date Blockchain and cryptocurrency news. Be the first to know!

What is it for?