2

I was wondering about block time and block size. Why are they defined the way they are? Is it possible to reduce the time between two blocks without changing the consensus mechanism? What would happen to the current consensus if we wanted to lower the time between two blocks?

1 Answer 1

2

There is a brilliant explanation about why was the decision of the default Substrate block time in this previous StackExchange answer: What is the possible minimum block time?.

Substrate is highly customizable, so yes, is possible to reduce the time between two blocks.

See these examples:

And just as an example about how customizable is if you want to change the consensus mechanism: How can I make my node generate blocks only when they receive transactions?

About your question what would happen to the current consensus if we wanted to lower the time between two blocks, I get this quote from the Shawn's answer I shared above.

Testing and benchmarking of your Substrate network will be the only way to really determine how low you can safely get your block time.

1
  • Nice, thanks ! :)
    – Matthiew
    Jul 17, 2023 at 13:19

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.