Module stake_utils

Module stake_utils 

Source
๐Ÿ‘ŽDeprecated since 3.1.0: This crate has been marked for formal inclusion in the Agave Unstable API. From v4.0.0 onward, the agave-unstable-api crate feature must be specified to acknowledge use of an interface that may break without warning.

Functionsยง

create_stake_accountDeprecated
Utility function for creating a stake account from basic parameters. Only used in tests and CLIs.
get_minimum_delegationDeprecated
The minimum stake amount that can be delegated, in lamports. When this feature is added, it will be accompanied by an upgrade to the BPF Stake Program. 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.