scheduled_delay_change
Standalone Functions
new
new(pre, post, block_of_change);
Parameters
Name | Type |
---|---|
pre | Option<u32> |
post | Option<u32> |
block_of_change | u32 |
get_current
get_current(self, current_block_number);
/ historical private reads use get_effective_minimum_delay_at
instead.
Parameters
Name | Type |
---|---|
self | |
current_block_number | u32 |
get_scheduled
get_scheduled(self);
/ Additionally, further changes might be later scheduled, potentially canceling the one returned by this function.
Parameters
Name | Type |
---|---|
self |
schedule_change
schedule_change(&mut self, new, current_block_number);
/ days.
Parameters
Name | Type |
---|---|
&mut self | |
new | u32 |
current_block_number | u32 |
get_effective_minimum_delay_at
get_effective_minimum_delay_at(self, historical_block_number);
/ the current one.
Parameters
Name | Type |
---|---|
self | |
historical_block_number | u32 |
serialize
serialize(self);
Parameters
Name | Type |
---|---|
self |
deserialize
deserialize(input);
Parameters
Name | Type |
---|---|
input | [Field; 1] |