Docs.rs
solana-stake-program-2.1.11
solana-stake-program 2.1.11
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.22
normal
solana-config-program =2.1.11
normal
solana-feature-set =2.1.11
normal
solana-log-collector =2.1.11
normal
solana-program-runtime =2.1.11
normal
solana-sdk =2.1.11
normal
solana-type-overrides =2.1.11
normal
solana-vote-program =2.1.11
normal
assert_matches ^1.5.0
dev
proptest ^1.5
dev
solana-compute-budget =2.1.11
dev
solana-logger =2.1.11
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.1.11
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.