solana_program/
last_restart_slot.rs

1
2
3
4
5
6
7
8
9
10
//! Information about the last restart slot (hard fork).

use {crate::clock::Slot, solana_sdk_macro::CloneZeroed};

#[repr(C)]
#[derive(Serialize, Deserialize, Debug, CloneZeroed, PartialEq, Eq, Default)]
pub struct LastRestartSlot {
    /// The last restart `Slot`.
    pub last_restart_slot: Slot,
}