Over time, as people deposit SOL into the reserve, or as validator performance varies, you will want to move stake around.
The best way to do this will be through an automated system to collect information about the stake pool and the network, and decide how much stake to allocate to each validator.
How It Works
The rebalance system automatically adjusts stake allocation across validators based on performance and pool conditions.
Here's the step-by-step process:
State Transition Check: Automatically transitions between system states based on current conditions and timing parameters
State Types
Idle: Waiting state, monitors for when to begin operations
Stake Deposit Unstake Cap: Manages withdrawal of recent deposits
Delegation Redistribution:
For instant unstake scenarios, the system automatically redistributes the validator's delegation percentage to other eligible validators by adjusting their denominators.
Increase Stake Conditions
Triggers when:
Current stake is below target allocation
Sufficient reserve lamports available
No transient stake operations pending
No Action
When current allocation is optimal or constraints prevent changes
State Updates
After determining rebalance type, the system updates:
Validator lamport balances to reflect new stake levels
Unstake totals across different categories (scoring, instant, stake deposit)
Delegation percentages for instant unstake redistribution
Progress tracking to mark validator as processed
Rebalance Types
The system supports three types of rebalance operations:
Increase Stake
When: Validator performance is good and needs more stake
Actions: Moves SOL from reserve to validator's stake account