Module solana_stake_program::stake_state [−][src]
Stake state
- delegate stakes to vote accounts
- keep track of rewards
- own mining pools
Structs
Authorized | |
Delegation | |
Lockup | |
Meta | |
PointValue | captures a rewards round as lamports to be awarded and the total points over which those lamports are to be distributed |
Stake |
Enums
InflationPointCalculationEvent | |
SkippedReason | |
StakeAuthorize | |
StakeState |
Constants
MIN_DELEGATE_STAKE_AMOUNT | Minimal amount for delegate to create stake account. = 10k |
MIN_STAKERS_TO_BE_MAJORITY | Amount of stake to be in majority = 1M |
NUM_MAJOR_STAKERS_FOR_FILTERING | Number of stakers with lamports more than 1M, to start filtering = 19 |
Traits
StakeAccount |
Functions
calculate_points | |
create_account | |
create_account_with_activation_epoch | |
create_lockup_stake_account | |
new_stake_history_entry | |
redeem_rewards | |
rewrite_stakes |
Type Definitions
RewriteStakeStatus |