Instruction: DeactivateDelinquent
This instruction deactivates delegation of a stake account that has been delegated to a vote account that has been delinquent for at least MINIMUM_DELINQUENT_EPOCHS_FOR_DEACTIVATION epochs.
Input structure
Accounts
stake_account: The delegated stake account to be deactivated.Signer: No.
Init: No.
PDA: No.
Writable: Yes.
Rent checks: None.
Ownership checks: The account must be owned by the program.
Address checks: None.
delinquent_vote_account: The delinquent vote account for the delegated stake account.Signer: No.
Init: No.
PDA: No.
Writable: No.
Rent checks: None.
Ownership checks: The account must be owned by the Solana vote program.
Address checks: None.
reference_vote_account: The reference vote account that is active over previousMINIMUM_DELINQUENT_EPOCHS_FOR_DEACTIVATIONepochs.Signer: No.
Init: No.
PDA: No.
Writable: No.
Rent checks: None.
Ownership checks: The account must be owned by the Solana vote program.
Address checks: None.
Additional checks and behavior
The
reference_vote_accountmust have been activated over the previousMINIMUM_DELINQUENT_EPOCHS_FOR_DEACTIVATIONepochs.The stake account must be in the
Stakestate.The stake account must be delegated to the
delinquent_vote_account.The
delinquent_vote_accountmust have been delinquent over the previousMINIMUM_DELINQUENT_EPOCHS_FOR_DEACTIVATIONepochs.Delegation of the stake account is deactivated if the above conditions are met.