Questions tagged [block-time]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
4 votes
0 answers
65 views

How does primary slots and secondary vrf slots work?

I am struggling to understand some behaviour on a custom 7 validators solochain. Currently using babe with a 1/4 primary slots probability, the block time is 20 sec, and we have ...
Leouarz's user avatar
  • 177
4 votes
1 answer
66 views

Why the block time is 6s here?

https://github.com/paritytech/cumulus/pull/2213/files#diff-04c884d6f18e6732821418360f30ce293a09a5a817672f3a5d100d82696f70d1R721 let info_provider = timestamp_with_aura_info(6000); IIRC, the block ...
AurevoirXavier's user avatar
6 votes
1 answer
305 views

What is the possible minimum block time?

Is there a way to determine/calculate what the minimum block time would be? If not, what could we consider before lowering the block time, and how to monitor the side effects of small block time? I ...
Burak's user avatar
  • 893
3 votes
2 answers
133 views

What could happen if the `BlockWeights` is set HIGHER than `MILLISECS_PER_BLOCK` (block time)?

In Substrate docs, it's said: "The maximum block weight should be equivalent to one-third of the target block time, allocating one third for block construction, one third for network propagation, ...
afm's user avatar
  • 335
2 votes
2 answers
124 views

What happens when I decrease the `MILLISECS_PER_BLOCK` parameter in runtime/src/lib.rs

I need to change the MILLISECS_PER_BLOCK parameter to generate blocks more quickly. For example I can set it to 100 so that my transaction can execute instantly. The question is: What will happen when ...
Rong Nguyen's user avatar
9 votes
3 answers
295 views

How to estimate the timestamp of a future block in Substrate?

I have some expiry time in block number which I need to deem some storage values expired after that block number, however in the UX I want to present this value as an estimated datetime. So to be able ...
Hamid's user avatar
  • 101