Module solana_sdk::sysvar::clock[][src]

This account contains the clock slot, epoch, and leader_schedule_epoch

Structs

Clock

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

ID

The static program ID

Functions

check_id

Confirms that a given pubkey is equivalent to the program ID

id

Returns the program ID