stake-pool: Add comment to validator stake info field (#2527)
This commit is contained in:
parent
1a48523a80
commit
c5e7ae736e
|
@ -532,12 +532,16 @@ impl Default for StakeStatus {
|
|||
#[repr(C)]
|
||||
#[derive(Clone, Copy, Debug, Default, PartialEq, BorshDeserialize, BorshSerialize, BorshSchema)]
|
||||
pub struct ValidatorStakeInfo {
|
||||
/// Amount of active stake delegated to this validator
|
||||
/// Amount of active stake delegated to this validator, minus the minimum
|
||||
/// required stake amount of rent-exemption + `crate::MINIMUM_ACTIVE_STAKE`
|
||||
/// (currently 0.001 SOL).
|
||||
///
|
||||
/// Note that if `last_update_epoch` does not match the current epoch then
|
||||
/// this field may not be accurate
|
||||
pub active_stake_lamports: u64,
|
||||
|
||||
/// Amount of transient stake delegated to this validator
|
||||
///
|
||||
/// Note that if `last_update_epoch` does not match the current epoch then
|
||||
/// this field may not be accurate
|
||||
pub transient_stake_lamports: u64,
|
||||
|
|
Loading…
Reference in New Issue