Spaces:
Sleeping
Sleeping
Download meteora/node_modules/@solana/web3.js/src/timing.ts from Trireme/hyper_dashboard: direct link, hf CLI and curl.
- Browser
- Download file 408 Bytes
-
https://huggingface.co/spaces/Trireme/hyper_dashboard/resolve/main/meteora/node_modules/%40solana/web3.js/src/timing.ts
- Command line
-
hf download hf://spaces/Trireme/hyper_dashboard/meteora/node_modules/@solana/web3.js/src/timing.ts
-
curl -L -o timing.ts https://huggingface.co/spaces/Trireme/hyper_dashboard/resolve/main/meteora/node_modules/%40solana/web3.js/src/timing.ts
408 Bytes
| // TODO: These constants should be removed in favor of reading them out of a | |
| // Syscall account | |
| /** | |
| * @internal | |
| */ | |
| export const NUM_TICKS_PER_SECOND = 160; | |
| /** | |
| * @internal | |
| */ | |
| export const DEFAULT_TICKS_PER_SLOT = 64; | |
| /** | |
| * @internal | |
| */ | |
| export const NUM_SLOTS_PER_SECOND = | |
| NUM_TICKS_PER_SECOND / DEFAULT_TICKS_PER_SLOT; | |
| /** | |
| * @internal | |
| */ | |
| export const MS_PER_SLOT = 1000 / NUM_SLOTS_PER_SECOND; | |