-
Notifications
You must be signed in to change notification settings - Fork 64
Optimize Wallet (CLI)
In the CLI wallet there are three commands that help you optimize your wallet:
This command shows you the total number of outputs in your wallet. The more outputs in your wallet, the more optimization your wallet will need to send large transactions. If you have less than 100 outputs, then you do not need to optimize your wallet.
[wallet ccx7Pz]: outputs
233
When you run this command, it runs a single optimization round, usually reducing the number of outputs by a 100. You can do this over and over again until you can the desired amount.
[wallet ccx7Pz]: optimize
Money successfully sent, transaction
c273bb88f7957c3bc25f79ff2494a30ffa226d3a06c95f3ba49eb4b6dc334e97
Transaction secret key
02464c66f23f077e9bd859e5aec87d2b8802f4f6871e860ee212398e8782cf0d
Then you will see that the number of outputs has reduced:
[wallet ccx7Pz]: outputs
136
When you have thousands of outputs or want to send one large transaction, that involves all or almost all of the funds in your wallet, then you can run this command. The command runs several optimization rounds at once. You will see the number of outputs and the number of optimization rounds that the process will run. Some wallets, with several thousand outputs, will need several rounds of optimize_all. It depends on how much you want to send and how many outputs you have.
[wallet ccx7Pz]: optimize_all
Total outputs: 396
Total optimization rounds: 3
Always use the latest version of concealwallet
© 2018-2023 Conceal Network. All rights reserved.
- Conceal API Reference
- General Methods
- Private Key Methods
- Wallet Address Methods
- Deposit Methods
- Transaction Methods
- Delayed Transaction Methods
- Wallet Export Methods