Expand description

The optimistically_confirmed_bank_tracker module implements a threaded service to track the most recent optimistically confirmed bank for use in rpc services, and triggers gossip subscription notifications. This module also supports notifying of slot status for subscribers using the SlotNotificationSender. It receives the BankNotification events, transforms them into SlotNotification and sends them via SlotNotificationSender in the following way: BankNotification::OptimisticallyConfirmed –> SlotNotification::OptimisticallyConfirmed BankNotification::Frozen –> SlotNotification::Frozen BankNotification::NewRootedChain –> SlotNotification::Root for the roots in the chain.

Structs§

Enums§

Type Aliases§