You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
The lookahead collator currently operates like this:
It accepts an authoring_duration
Every relay-chain block, it authors blocks in a loop with authoring_duration as a limit.
The lookahead collator should instead get a more intricate set of parameters which limit the total amount of authoring time per block.
structAuthoringDurations{// The maximum amount of time to spend authoring a block.max_duration:Duration,// The minimum amount of time to allow for authoring a block.min_duration:Duration,// The maximum amount of time per relay-chain block to spend authoringmax_per_relay_slot:Duration,}
The per-relay-parent authoring loop should adjust the duration that it passes to propose based on the amount of time remaining in the slot, and conclude the loop if it the remaining amount of time would be less than the min_duration.