[−][src]Module solana_sdk::timing
The timing
module provides std::time utility functions.
Constants
DEFAULT_NUM_TICKS_PER_SECOND | |
DEFAULT_SLOTS_PER_EPOCH | |
DEFAULT_TICKS_PER_SLOT | |
MAX_HASH_AGE_IN_SECONDS | The time window of recent block hash values that the bank will track the signatures
of over. Once the bank discards a block hash, it will reject any transactions that use
that |
MAX_RECENT_BLOCKHASHES | |
MAX_TRANSACTION_FORWARDING_DELAY | More delay is expected if CUDA is not enabled (as signature verification takes longer) |
NUM_CONSECUTIVE_LEADER_SLOTS |
Functions
duration_as_ms | |
duration_as_ns | |
duration_as_s | |
duration_as_us | |
timestamp |
Type Definitions
Epoch | Epoch is a unit of time a given leader schedule is honored, some number of Slots. Use a u64 to count them. |
Slot | Slot is a unit of time given to a leader for encoding, is some some number of Ticks long. Use a u64 to count them. |