The staking-decommission-pool
command in Mintlayer is used to decommission a staking pool using its unique pool ID. This action can only be performed if the decommission key is owned by the selected account in the wallet.
Note: Decommissioning a staking pool is a significant action that should be taken with due consideration, as it affects the pool's operation and the staking process.
Note: Decommissioning a pool incurs a 7200-block maturity period, which means the tokens are frozen for about 10 days.
staking-decommission-pool <POOL_ID> [OUTPUT_ADDRESS]
<POOL_ID>
: The pool ID of the staking pool to be decommissioned. Ensure that the selected account in the wallet owns the decommission key for this pool.
[OUTPUT_ADDRESS]
: The address that will be receiving the staker's balance (both pledge and proceeds from staking). If not specified, a new receiving address will be created by this wallet's selected account.
-h, --help
: Displays help information about the staking-decommission-pool
command.Decommissioning a Staking Pool:
To decommission a staking pool with the ID tpool12udk7skuzl3u5msdq4zx3n0wyc3ahp5ejnzh7a59ylvzl39elqcs5zpc5e
, the command would be:
staking-decommission-pool tpool12udk7skuzl3u5msdq4zx3n0wyc3ahp5ejnzh7a59ylvzl39elqcs5zpc5e
After executing this command, you will receive a confirmation:
The transaction was submitted successfully
This message confirms that the decommission process for the specified staking pool has been initiated.