solana/solana_web3/src/constants/timing library
TODO: These constants should be removed in favor of reading them out of a Syscall account.
Constants
- defaultTicksPerSlot → const int
-
The default number of
ticks
perslot
. - millisecondsPerSlot → const double
-
The duration of a
slot
in milliseconds. - numberOfSlotsPerSecond → const double
-
The number of
slots
per second. - numberOfTicksPerSecond → const int
-
The number of
tick
ledger entries persecond
.