Finished Gossip Block Validation Conditions (#2640)

* Gossip Block Validation is Much More Efficient

Co-authored-by: realbigsean <seananderson33@gmail.com>
This commit is contained in:
ethDreamer
2021-09-28 18:36:03 -05:00
committed by Paul Hauner
parent fe945bc84a
commit 1563bce905
5 changed files with 80 additions and 42 deletions

View File

@@ -61,6 +61,10 @@ impl SlotClock for SystemTimeSlotClock {
fn genesis_slot(&self) -> Slot {
self.clock.genesis_slot()
}
fn genesis_duration(&self) -> Duration {
*self.clock.genesis_duration()
}
}
#[cfg(test)]