👎Deprecated since 3.1.0: This crate will be REMOVED in Agave v4.0.0 and its name will be taken by the BPF Stake Program. Users of this crate’s public exports must switch to:
stake_state->solana_stake_interface::state.points->solana_runtime::inflation_rewards::points.id()/check_id()->solana_stake_interface::program::_.get_minimum_delegation()will continue to live at the same path.- Some convenience functions such as
stake_from()andcreate_account()are removed.
Modules§
- config
Deprecated - config for staking carries variables that the stake program cares about
- epoch_
rewards Deprecated - Creates the initial empty EpochRewards sysvar
- points
Deprecated - Information about points calculation based on stake state.
Used by
solana-runtime. - stake_
state Deprecated - Stake state: helper functions for creating and parsing account data
Functions§
- add_
genesis_ accounts Deprecated - check_
id - Returns
trueif given pubkey is the program ID. - get_
minimum_ delegation Deprecated - The minimum stake amount that can be delegated, in lamports. NOTE: This is also used to calculate the minimum balance of a delegated stake account, which is the rent exempt reserve plus the minimum stake delegation.
- id
- Returns the program ID.