Expand description
Consensus-related.
Constants§
- BLOCK_
PROCESSING_ VELOCITY - How many parachain blocks are processed by the relay chain per parent. Limits the number of blocks authored per slot.
- MAXIMUM_
BLOCK_ WEIGHT - We allow for 2 seconds of compute with a 6 second average block.
- MILLISECS_
PER_ BLOCK - 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 bypallet_timestamp
which is in turn picked up bypallet_aura
to implementfn slot_duration()
. - RELAY_
CHAIN_ SLOT_ DURATION_ MILLIS - Relay chain slot duration, in milliseconds.
- SLOT_
DURATION - UNINCLUDED_
SEGMENT_ CAPACITY - Maximum number of blocks simultaneously accepted by the Runtime, not yet included into the relay chain.