Bitcoin: Reclaim disk space in Bitcoin Core full node
Recoeneration of disk space in a complete Bitcoin core node with Fulcrum
As the Bitcoin users base is growing, disk space management is becoming increasingly important. In this article, we will examine how to recover the disc space in the full Bitcoin Core node that is executed in the Fulcrum installed system.
background
Bitcoin Core is a popular and widely used implementation of the entire Bitcoins knot. It is responsible for storing and updating the Bitcoin block chain, as well as transaction management. Unfortunately, due to its intensive nature, Bitcoin nodes often consume a significant amount of disk space.
The current disc size for all nodes of the Bitcoin nuclei in our system is 644 Gib. This can lead to performance problems and increase storage costs over time.
Indexation of the company and transaction
One of the key factors that contributes to the high use of the disk is the Fulcrum transaction index, the specific implementation of the nodes that allows the fastest and most efficient block discovery. By default, Fulcrum uses the transaction index (Txyndex) as a pruning of a mechanism that can only help reduce memory use only storing relevant transactions.
Pruning node
As you have found, the current system configuration contains Txandex, but it is not a pruning node. This means that all transactions are stored on the disc, even if they are currently not used or not used for blockchain. Although it may seem comfortable, it actually contributes to the use of a high disk and slows the network.
Regeneration of disk space
Follow the following steps to get the disc space in the Bitcoin core full with Fulcrum:
- Disagree Txandex : Establish the
txyndexconfiguration in ‘false’ in a node configuration file (eg/etc/bitcoin.conf). This avoids the use of transaction rates and reducing the use of memory.
`Bash
/etc/bitcoin.conf
Txandex = false
- RAM : Add more memory for your system by adding to the "distinguished memory" configuration option in the node configuration file (for example, etc/bitcoin.conf). For example::
`Bash
/etc/bitcoin.conf
Resolved memory = 1024mib
- Use faster disk storage : Consider the innovation of the hard disk of your system or unit (SSD) to improve general power and reduce the use of the disk.
- Monitor and edit
: Be careful with the use of the disk node and adjust its configuration as necessary to guarantee optimal performance.
More tips
- Be sure to be using the latest version of the Bitcoin core that admits fulcrum, such as 1.19.x or posterior.
- If you have allowed the transaction index in the past, but you want to disable it, you can do it by configuringtxyndex` in ‘false’ and then restart the knot.
Conclusion
According to these steps, he should be able to recover the space on the disc at the Bitcoin nucleus with a complete node with Fulcrum. Be sure to monitor node performance regularly and adjust your configuration as necessary to guarantee optimal operation.
Bir cevap yazın