Bitcind management in pruning mode: Guide
In the world of cryptocurrency and blockchain, multiple knots on one computer can be useful for a number of reasons, such as increased security and a faster transaction processing time. However, it also means that older blocks are abandoned, leaving less data available for users like you.
One of the ways to reduce these problems is the pruning mode that allows you to run only the information you need from the block of each local machine, throwing most of the stored elsewhere. In this article, we will look at step by step on how to install and configure Bitcind in pruning mode.
Why turn your Bitcind?
Before diving into the process, let’s quickly discuss why you might want to run your Bitcind in pruning mode:
* Security : By throwing older blocks, you reduce the attack surface for possible safety vulnerabilities.
* Speed : Full knot launching can be slower than managing a pruning unit that is optimized for performance.
* Space : If more data is stored elsewhere, the local machine has fewer knots that can help with storage space.
Bitcind pruning: step by step
1
Install pruning node software
: First download and install the official pruning unit software from [the official site] ( The latest version is usually available at GitHub.
- Configure pruning settings : After installation, you will need to configure pruning settings according to your needs. This can be done by editing the “Config.json
pruning node root directory.
Here are some examples of configuration options:
- prune.minblock
: minimum block number to be stored. Set it to a lower value if you want more data to be stored in the local machine.
- prune.maxblock
: Maximum block number to be stored. Set high enough to ensure that the pruning process is effective, but not so high that it takes too long to complete them.
JSON
{
“Trim”: {
“Minblock”: 100000, // Save at least the first 10 million blocks
“MaxBlock”: 2000000 // Save up to 2 million blocks
}
}
`
3
Start pruning node : After configuring settings, start the pruning unit using ./Node.sh
. Make sure you are in the directory where your pruning node software is installed.
`bash
./node.sh -f config.json
`
- Check your configuration : After starting, check that your pruning configuration is correct by checking updates or running a full knot in the machine to make sure it works as intended.
- Run Bitcind in pruning mode : To run Bitcind in pruning mode, use the “flooding” command instead of ordinary team “Bitcind”.
`bash
./node.sh -c plum -f config.json
`
Troubleshooting Tips
- If you have problems with a pruning node crash or do not properly, make sure your configuration is correct and try to restart the pruning unit.
- Keep in mind that pruning nodes can consume more CPUs and memories than regular nodes, so be sure to carefully monitor the use of resources.
By taking these steps and adjusting the pruning settings according to your needs, you can effectively run Bitcind in pruning mode. Remember to regularly update the configuration and check the setup before placement.
Conclusion
Bitcind pruning is a great way to balance security, performance and storage requirements. You can optimize the pruning unit when performing these steps and adjusting the settings according to your particular use.
Leave a Reply