guides:farming:movedb
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
guides:farming:movedb [2021/11/08 18:33] – vleesbanaan | guides:farming:movedb [2023/11/17 10:51] (current) – Update to v2 DB filenames, remove potentially outdated bluebox info, some formatting earl | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ===== How to move the Chia db to another folder===== | + | ===== How to move the Chia DB to another folder ===== |
- | While the Chia blockchain data is still relatively small in this early stage, it will continue to grow. At some point you may want to move the files to another folder. In this guide, you will learn how to change the location of your Chia blockchain data. It is also possible to move the wallet data in the same way. | + | While the Chia blockchain data is still relatively small in this early stage, it will continue to grow. At some point, you may want to move the files to another folder. In this guide, you will learn how to change the location of your Chia blockchain data. It is also possible to move the wallet data in the same way. |
- Make sure you stop all Chia processes first | - Make sure you stop all Chia processes first | ||
- Locate the data that you want to move. First, you need to navigate to the path where the blockchain and wallet data are stored. By default, this is: '' | - Locate the data that you want to move. First, you need to navigate to the path where the blockchain and wallet data are stored. By default, this is: '' | ||
- | - Copy the folders | + | - Copy the folders |
- | - Then, go back to your Chia folder '' | + | - Then, go back to your Chia folder '' |
- | ^File you want to move^config.yaml entry ^ From: ^ To: ^ | + | Changes are made using our example path '' |
- | |Blockchain data|(under full_node:) database_path: | + | |
- | |Blockchain peer table|peer_db_path: | + | |
- | |Wallet data|(under | + | |
- | |Wallet peer table|wallet_peers_path: | + | |
- | Changes are made using our example path '' | + | ^Database^config.yaml entry ^ From: ^ To: ^ |
- | + | |Blockchain|full_node: | |
- | ==== Compactification ==== | + | |Blockchain peer table|full_node: |
- | It should be noted that the blockchain file is a bit larger than currently necesarry. This is because the [[https://github.com/Chia-Network/chia-blockchain/wiki/Timelords|Timelord]] focusses on creating the proof of time that moves the chain forward as fast as possible, but does not optimize for the smallest possible proof of Time. Bluebox Timelords fulfill this duty; they ex post scan the blockchain to see if there are any uncompressed proofs out there, which it then compactifies and gossips around the whole network. This helps reduce the size of the db. Check out https://www.arewecompactifiedyet.live/, a cool website that tracks the blockchain size and the % of compactified blocks to learn the state of compactification. | + | |Wallet|wallet: database_path: |
+ | |Wallet peer table|wallet: | ||
+ | “Please do at your own risk” -Fellow Farmer |
guides/farming/movedb.1636396385.txt.gz · Last modified: 2021/11/08 18:33 by vleesbanaan