Skip to content
Commit b6294418 authored by Bastian Köcher's avatar Bastian Köcher Committed by GitHub
Browse files

Introduce a `Slot` type (#7997)



* Introduce a `Slot` type

Instead of having some type definition that only was used in half of the
code or directly using `u64`, this adds a new unit type wrapper `Slot`.
This makes it especially easy for the outside api to know what type is
expected/returned.

* Change epoch duratioC

* rename all instances of slot number to slot

* Make the constructor private

Co-authored-by: default avatarAndré Silva <[email protected]>
parent 6c2dd28d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment