Update time value

As the pallet contains certain functionalities which are executed independently on a timed basis, a authority account user can change the specific time values for these events. The available time values as well as their default values are as provided:

Current time values:

Note

All of the default time values (in blocks) have been calculated on the presumption that the finalization time of a block on the network is 6 seconds. The finalization time can be set during the configuration phase of the pallet.

If an authority account wishes to change a certain time value he/she can do so using the update_time_value(time_type, new_time_value). When calling the function the user needs to specify the exact time that he/she wished to update as well as the new time value. It is worth mentioning that the new time value can't be 0, and that the pallet base time can't be updated via this manner.

Last updated