[][src]Crate slot_clock

Structs

Slot
SystemTimeSlotClock

Determines the present slot based upon the present system time.

TestingSlotClock

A slot clock where the slot is manually set instead of being determined by the system time.

Traits

SlotClock

A clock that reports the current slot.

Functions

scrape_for_metrics

Update the global metrics DEFAULT_REGISTRY with info from the slot clock.