pub struct AppInfo {
pub last_block_height: Height,
pub last_block_app_hash: BlockHash,
}Expand description
Application info returned by Application::info.
Used on startup to reconcile the application’s last committed state with the consensus engine’s persisted state.
Fields§
§last_block_height: HeightThe height of the last block the application has committed.
last_block_app_hash: BlockHashThe app_hash after the last committed block.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AppInfo
impl RefUnwindSafe for AppInfo
impl Send for AppInfo
impl Sync for AppInfo
impl Unpin for AppInfo
impl UnsafeUnpin for AppInfo
impl UnwindSafe for AppInfo
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more