Skip to main content

Crate rialo_stake_cache_interface

Crate rialo_stake_cache_interface 

Source
Expand description

Shared types for the Stake Cache.

This crate provides types that are shared between svm-execution and rialo-s-program-runtime, allowing builtin programs to access and manipulate stake cache data during transaction execution.

Structsยง

StakeAccount
Represents a stake account with its data.
StakeCache
A cache of stake and validator accounts.
StakeCacheData
Data structure holding the cached stake and validator accounts.
StakeHistory
A history of frozen stake cache snapshots across epochs.
StakesHandle
Handle for builtin programs to access stake cache data and freeze stakes.
ValidatorAccount
Represents a validator account with its data.
ValidatorAccountView
A lightweight representation of validator data for use by builtin programs.