Skip to main content

Questions tagged [block-time]

Filter by
Sorted by
Tagged with
1 vote
0 answers
6 views

Are there disadvantages to parachains having block times higher or lower than 6 seconds? Any examples?

In the Polkadot ecosystem, parachains typically follow a 6-second block time to synchronize with the relay chain. However: Are there disadvantages for parachains to use a higher or lower block time ...
Superluminal's user avatar
4 votes
0 answers
95 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
  • 353
4 votes
1 answer
76 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 ...
aurexav's user avatar
  • 11.2k
7 votes
1 answer
625 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
  • 903
3 votes
2 answers
209 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
  • 355
2 votes
2 answers
146 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
456 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