We can definitely set a step duration in the config file, such that the validators set in the config file or from validator set smart contract take turns to author blocks.
The address1 would author 5 blocks continuously, after that address2 would follow authoring the next 5 blocks and so on.
Considering that I am keeping max block gas very high in my private chain, which would result into a high block size (maybe in MBs). address1 authors first 4 blocks (which gets relayed to network in some time), but relaying the 5th block to the network (more importantly to address2) takes time. If that time is comparable to or more than the step duration, address2 might consider that address1 didn't author the last block and would author the 5th block by self and fork out. But, if a delay is possible between this (in this example for every 5 blocks), then this issue can be minimized.
By delay I mean that: consider a step duration of 1 second:
If it is possible to have such a delay in the validator set, then large max block gas can be set along with continuous block authoring. If it makes sense, this feature can be used by many blockchains (for example layer 2 solutions) coming in future and can help to scale their dApps more.
We can definitely set a step duration in the config file, such that the validators set in the config file or from validator set smart contract take turns to author blocks.
Let's consider this set:
The
address1
would author 5 blocks continuously, after thataddress2
would follow authoring the next 5 blocks and so on.Considering that I am keeping max block gas very high in my private chain, which would result into a high block size (maybe in
MBs
).address1
authors first 4 blocks (which gets relayed to network in some time), but relaying the 5th block to the network (more importantly toaddress2
) takes time. If that time is comparable to or more than the step duration,address2
might consider thataddress1
didn't author the last block and would author the 5th block by self and fork out. But, if a delay is possible between this (in this example for every 5 blocks), then this issue can be minimized.By delay I mean that: consider a step duration of 1 second:
For example, we can add an indicator for delay in the validator set:
If it is possible to have such a delay in the validator set, then large max block gas can be set along with continuous block authoring. If it makes sense, this feature can be used by many blockchains (for example layer 2 solutions) coming in future and can help to scale their dApps more.