solana_stake_interface/
lib.rs

1//! The Stake program interface.
2
3#![cfg_attr(feature = "frozen-abi", feature(min_specialization))]
4#![cfg_attr(docsrs, feature(doc_auto_cfg))]
5
6#[allow(deprecated)]
7pub mod config;
8pub mod error;
9pub mod instruction;
10pub mod stake_flags;
11pub mod stake_history;
12pub mod state;
13#[cfg(feature = "sysvar")]
14pub mod sysvar;
15pub mod tools;
16
17pub mod program {
18    solana_pubkey::declare_id!("Stake11111111111111111111111111111111111111");
19}
20
21/// The minimum number of epochs before stake account that is delegated to a delinquent vote
22/// account may be unstaked with `StakeInstruction::DeactivateDelinquent`
23pub const MINIMUM_DELINQUENT_EPOCHS_FOR_DEACTIVATION: usize = 5;