numberOfSlotsPerSecond top-level constant

double const numberOfSlotsPerSecond

The number of slots per second.

A slot is the period of time for which each leader ingests transactions and produces a block.

Implementation

const double numberOfSlotsPerSecond =
    numberOfTicksPerSecond / defaultTicksPerSlot;