Files
pezkuwi-subxt/substrate/client/consensus/slots
Bastian Köcher b6294418f8 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: André Silva <andrerfosilva@gmail.com>
2021-01-28 19:44:22 +00:00
..
2021-01-28 19:44:22 +00:00
2021-01-04 09:03:13 +00:00
2021-01-12 09:25:47 +01:00
2020-08-20 17:04:42 +02:00

Slots functionality for Substrate.

Some consensus algorithms have a concept of slots, which are intervals in time during which certain events can and/or must occur. This crate provides generic functionality for slots.

License: GPL-3.0-or-later WITH Classpath-exception-2.0