fn update_pacemaker()

in librabft-v2/src/pacemaker.rs [37:60]


    fn update_pacemaker(
        &mut self,
        // Identity of this node.
        local_author: Context::Author,
        // Current epoch.
        epoch_id: EpochId,
        // Known records.
        record_store: &dyn RecordStore<Context>,
        // Local time of the latest query-all by us.
        latest_query_all: NodeTime,
        // Current local time.
        clock: NodeTime,
    ) -> PacemakerUpdateActions<Context>;

    /// Current active epoch, round, and leader.
    fn active_epoch(&self) -> EpochId;
    fn active_round(&self) -> Round;
    fn active_leader(&self) -> Option<Context::Author>;
}
// -- END FILE --

// -- BEGIN FILE pacemaker_state --
#[derive(Debug, Serialize, Deserialize, PartialEq)]
pub(crate) struct PacemakerState<Context: SmrContext> {