Repurpose unused as Clock::epoch_start_timestamp; add gated update

This commit is contained in:
Tyera Eulberg
2020-10-26 14:07:06 -06:00
committed by Michael Vines
parent 96b8aa8bd1
commit 0049ab69fb
2 changed files with 23 additions and 10 deletions

View File

@ -79,8 +79,8 @@ pub type UnixTimestamp = i64;
pub struct Clock {
/// the current network/bank Slot
pub slot: Slot,
/// unused
pub unused: u64,
/// the timestamp of the first Slot in this Epoch
pub epoch_start_timestamp: UnixTimestamp,
/// the bank Epoch
pub epoch: Epoch,
/// the future Epoch for which the leader schedule has