Function duniter::chain_spec::gen_genesis_data::seconds_to_blocs

source ยท
fn seconds_to_blocs(seconds: u32) -> u32
Expand description

Converts a number of seconds to a number of 6-seconds blocs use lower approximation example : 2 seconds will be block 0 example : 7 seconds will be block 1