Constant gtest_runtime::MILLISECS_PER_BLOCK
source · pub const MILLISECS_PER_BLOCK: u64 = 6000; // 6_000u64
Expand description
This determines the average expected block time that we are targeting.
Blocks will be produced at a minimum duration defined by SLOT_DURATION
.
SLOT_DURATION
is picked up by pallet_timestamp
which is in turn picked
up by pallet_babe
to implement fn slot_duration()
.
Change this to adjust the block time.