Questions tagged [block-time]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
9 votes
3 answers

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 ...
4 votes
0 answers

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 ...
4 votes
1 answer

Why the block time is 6s here? let info_provider = timestamp_with_aura_info(6000); IIRC, the block ...
6 votes
1 answer

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 ...
3 votes
2 answers

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, ...
2 votes
2 answers

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

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 ...