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

Currently, the block time among blocks is 20 seconds on average, how can we reduce this 20 seconds parameter?

I know there are disadvantages when reducing the block time to 5 seconds or less, my intention is to reduce to 10 or 12 seconds.

In private Ethereum blockchains, it was possible to change the block time, changing the CalculateDifficult function, but since Quorum has changed to Voting-consensus the difficult has no impact on the block time.

1 Answer

0 votes
by (29.5k points)

Hi, i can think of a way to get it done there are two arguments for geth command line:
geth --help
  --minblocktime value        Set minimum block time (default: 3)
  --maxblocktime value        Set max block time (default: 10)
the values are in seconds.

Browse Categories