Module solana_sdk::sysvar::clock

source ·
Expand description

This account contains the clock slot, epoch, and leader_schedule_epoch

Structs

  • Clock represents network time. Members of Clock start from 0 upon network boot. The best way to map Clock to wallclock time is to use current Slot, as Epochs vary in duration (they start short and grow as the network progresses).

Statics

  • The static program ID

Functions

  • Confirms that a given pubkey is equivalent to the program ID
  • Returns the program ID