millisecondsPerSlot top-level constant
double
const millisecondsPerSlot
The duration of a slot
in milliseconds.
A slot
is the period of time for which each leader ingests transactions and produces a block.
Implementation
const double millisecondsPerSlot = 1000 / numberOfSlotsPerSecond;