Back

Explore Courses Blog Tutorials Interview Questions
0 votes
1 view
in Blockchain by (12.8k 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.8k 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.

Welcome to Intellipaat Community. Get your technical queries answered by top developers!

28.4k questions

29.7k answers

500 comments

94.1k users

Browse Categories

...