[][src]Module solana::poh_recorder

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:

  • tick must be > WorkingBank::min_tick_height && tick 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

Type Definitions

Slot

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

WorkingBankEntries