Module solana_core::poh_recorder[][src]

The poh_recorder module provides an object for synchronizing with Proof of History. It synchronizes PoH, bank’s register_tick and the ledger

PohRecorder will send ticks or entries to a WorkingBank, if the current range of ticks is within the specified WorkingBank range.

For Ticks:

  • new tick_height must be > WorkingBank::min_tick_height && new tick_height must be <= WorkingBank::max_tick_height

For Entries:

  • recorded entry must be >= WorkingBank::min_tick_height && entry must be < WorkingBank::max_tick_height

Structs

PohRecorder
WorkingBank

Enums

PohRecorderError

Constants

GRACE_TICKS_FACTOR
MAX_GRACE_SLOTS

Type Definitions

BankStart
Slot

Slot is a unit of time given to a leader for encoding, is some some number of Ticks long.

WorkingBankEntry