Docs.rs
solana-stake-program-2.2.0
solana-stake-program 2.2.0
Docs.rs crate page
Apache-2.0
Links
Homepage
Repository
crates.io
Source
Owners
anza-team
Dependencies
bincode ^1.3.3
normal
log ^0.4.25
normal
solana-account =2.2.1
normal
solana-bincode =2.2.1
normal
solana-clock =2.2.1
normal
solana-config-program =2.2.0
normal
solana-feature-set =2.2.1
normal
solana-genesis-config =2.2.1
normal
solana-instruction =2.2.1
normal
solana-log-collector =2.2.0
normal
solana-native-token =2.2.1
normal
solana-packet =2.2.1
normal
solana-program-runtime =2.2.0
normal
solana-pubkey =2.2.1
normal
solana-rent =2.2.1
normal
solana-sdk-ids =2.2.1
normal
solana-stake-interface ^1.2.1
normal
solana-sysvar =2.2.1
normal
solana-transaction-context =2.2.1
normal
solana-type-overrides =2.2.0
normal
solana-vote-interface =2.2.1
normal
assert_matches ^1.5.0
dev
criterion ^0.5.1
dev
proptest ^1.6
dev
solana-compute-budget =2.2.0
dev
solana-epoch-rewards =2.2.1
dev
solana-epoch-schedule =2.2.1
dev
solana-logger =2.2.1
dev
solana-pubkey =2.2.1
dev
solana-sysvar-id =2.2.1
dev
solana-vote-program =2.2.0
dev
test-case ^3.3.1
dev
Versions
13.56%
of the crate is documented
Platform
x86_64-unknown-linux-gnu
Feature flags
Rust
About docs.rs
Privacy policy
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
solana_
stake_
program
2.2.0
All Items
Crate Items
Modules
Functions
Crate
solana_stake_program
Copy item path
Source
Modules
§
config
config for staking carries variables that the stake program cares about
points
Information about points calculation based on stake state. Used by
solana-runtime
.
stake_
instruction
stake_
state
Stake state
Functions
§
add_
genesis_
accounts
check_
id
Returns
true
if given pubkey is the program ID.
get_
minimum_
delegation
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.