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
ticksperslot. - millisecondsPerSlot → const double
-
The duration of a
slotin milliseconds. - numberOfSlotsPerSecond → const double
-
The number of
slotsper second. - numberOfTicksPerSecond → const int
-
The number of
tickledger entries persecond.