I wanted to investigate the effect of increasing block creation time and block creation interval.

+4 votes
I ran load testing of 15 minutes on a network of 10 nodes all belonging to the same chain. Our blockchain only had these 10 neds in its network and all of them were running jmeter request generator for 15 minutes. Each request was exactly same with same data and same size.

When i did this experiment with BCT: 5sec and BS: 16MB and mine empty round OFF, i logged information of each block created in a file till no more blocks were being created.

I got 316 blocks in total and 5 out of them were empty (1 transaction only).  the rest 311 had more than 1 transactions. The block with the most number of transactions had 22742 transactions. And average of all non empty blocks(311) was 798.

When i did this with BCT 10 sec and BS 32MB and mine empty round OFF. I got 324 blocks in total and 191 out of them were empty (1 transaction only).  the rest 133 had more than 1 transactions. The block with the most number of transactions had 41647 transactions. And average of all non empty blocks(133) was 2060.

Can you tell me why we have more empty blocks when BCT was increased.
asked Jan 6, 2022 by Maheen Ayesha
How many nodes participate in the mining process?

1 Answer

0 votes

Hello

As per my knowledge When you increased the block creation time (BCT), it slowed down how often new blocks were made. With longer gaps between blocks, there might not have been enough transactions to fill them up, leading to empty blocks.

Increasing the block size (BS) helps fit more transactions in a block. When the block size is big and the network is busy, it's easier to fill blocks with transactions, reducing empty ones.

So, in your case, the slower block creation time (BCT 10 sec) and bigger block size (BS 32MB) could have caused more empty blocks because transactions didn't arrive quickly enough to fill the extended gaps between blocks.

Thank You

Salesforce Marketing Cloud Training

answered Aug 18, 2023 by stevediaz
edited Aug 23, 2023 by stevediaz
...