Add Clock sysvar details, update struct docs

This commit is contained in:
Tyera Eulberg
2020-10-28 17:01:24 -06:00
committed by Michael Vines
parent 4260b3b416
commit 3a1e125ce3
2 changed files with 25 additions and 2 deletions

View File

@ -86,7 +86,8 @@ pub struct Clock {
/// the future Epoch for which the leader schedule has
/// most recently been calculated
pub leader_schedule_epoch: Epoch,
/// computed from genesis creation time and network time
/// in slots, drifts!
/// originally computed from genesis creation time and network time
/// in slots (drifty); corrected using validator timestamp oracle as of
/// timestamp_correction and timestamp_bounding features
pub unix_timestamp: UnixTimestamp,
}