Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in Blockchain by (12.7k points)

How the number of transactions in a block is set up? or it is frequency of creation a new block? How to define/modify it?

Thanks!

1 Answer

0 votes
by (29.5k points)

This is a configuration for PBFT consensus with default values:

general:
    batchsize: 500
    timeout:
        batch: 1s

It means that new block will be generated when any of these conditions is met:

There are 500 transactions in a buffer
1 second passed from time when previous block was generated.

Browse Categories

...