Episode 44 - Block Gas Limit, Block Period, and Blockchain Scalability

Episode 44 - Block Gas Limit, Block Period, and Blockchain Scalability

When we talk about blockchain scalability — which has been the theme for some of the current episodes — we must understand how the block gas limit plays an important role in the scalability discussion.

In general, for any public smart contracts blockchain, it is important to measure and charge for the resource usage while executing smart contract logic. For this, we have gas. The concept of gas makes sure the user pays for the logic they want to execute on the chain. This discourages several kinds of attacks on the blockchain.

Now let’s understand what block gas limit is. A blockchain block is basically a collection of transactions along with some metadata. A transaction is a packet of data that represents a message from a user to a blockchain. So, in totality, a block is just a bigger packet of data. Another thing is blockchains are peer to peer networks. Which means nodes propagate blocks to their peers during the consensus process. There is also a concept of block time which is the period between the production of two blocks.

When we want to propagate a packet of data (a block) across several nodes of a network (blockchain) within a time limit (block period), we need to make sure the size of the data packet is not too large. This allows the block to propagate to maximum number of nodes so that it could be verified in a fully decentralized manner. Hence we need to put a limit on the size of the block.

How do we limit the size of the block? By limiting the number of transactions in it. And how do we measure the size and complexity of transactions? Gas. Hence, the block gas limit is the maximum amount of gas which could be used by transactions in that block.

If we increase the block gas limit, we will have to increase the block period as well. And if we increase the block period, we will have to wait longer for the transactions to be executed by the blockchains. This is how the block gas limit and block period impacts the blockchain scalability.



This is a public episode. If you would like to discuss this with other subscribers or get access to bonus episodes, visit podcast.blockshots.net

Tämä jakso on lisätty Podme-palveluun avoimen RSS-syötteen kautta eikä se ole Podmen omaa tuotantoa. Siksi jakso saattaa sisältää mainontaa.

Jaksot(116)

Episode 116 - Parallel Execution in Blockchains

Episode 116 - Parallel Execution in Blockchains

Traditionally blockchains execute transactions sequentially. Some of the newer chains have been trying parallel execution of transactions to improve blockchain performance. In this episode we understa...

15 Huhti 20243min

Episode 115 - Real World Asset Tokenisation

Episode 115 - Real World Asset Tokenisation

In this episode we understand what are real world assets and why they are being tokenised. What are real world assets?Any thing of value that has been generated or created in the real world before bei...

8 Huhti 20244min

Episode 114 - The Dencun Upgrade

Episode 114 - The Dencun Upgrade

After a brief break, we are back with new episodes.Ethereum recently upgraded to a new update called Dencun. In this episode we understand what this update is and how it is important.9 different updat...

1 Huhti 20244min

Episode 113 - What is Restaking?

Episode 113 - What is Restaking?

Restaking is staking of already staked tokens. But how is the possible?If tokens are staked for one purpose — providing econoimic security for consensus of a network — they could be further staked to ...

12 Helmi 20243min

Episode 112 - Modular Blockchains

Episode 112 - Modular Blockchains

Modular blockchains has been one of the buzz words in the last year. In this episode, let’s understand modularity in blockchains.In the beginning, consensus and execution were part of the same blockch...

5 Helmi 20244min

Episode 111 - What are Altcoins?

Episode 111 - What are Altcoins?

In this episode, we understand what are altcoins?Altcoin was first used for any coin other than bitcoin. But the definition has evolved a bit among different circles in the crypto land. Listen to the ...

29 Tammi 20242min

Episode 110 - Orphan or Uncle Blocks

Episode 110 - Orphan or Uncle Blocks

In this episode, we understand what are orphan or uncle blocks. This is more of a Proof of Work related concept where two blocks are produced at the same time. One of them becomes part of the chain - ...

23 Tammi 20243min

Episode 109 - On-chain vs Off-chain Governance

Episode 109 - On-chain vs Off-chain Governance

In this episode, we understand the two ways of doing blockchain governance - on-chain and off-chain.When the decisions to update the blockchain software are driven by processes off the chain (online f...

15 Tammi 20243min