User Tools

Site Tools


crypto:chia:initialize

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
crypto:chia:initialize [2021/06/25 08:17] – [Start plotting] petercrypto:chia:initialize [2021/06/26 11:43] (current) – [Start the wallet and generate your private key as well as passphrase] peter
Line 1: Line 1:
 ====== Crypto - Chia - Initialize ====== ====== Crypto - Chia - Initialize ======
  
-Initialize the nodes and save your private keys+Initialize the nodes and save the private keys
  
 ---- ----
Line 24: Line 24:
  
   * **init** checks for old versions of chia installed in the ~/.chia directory.   * **init** checks for old versions of chia installed in the ~/.chia directory.
-    * If so, init migrates these old files to the new version: + 
-      * config (including old SSL files) +  * If an old version of Chia exists, init migrates these old files to the new version: 
-      * db +    * config (including old SSL files) 
-      * wallet +    * db 
-      * Using config.yaml, updates wallet keys and ensures rewards go to the right wallet.+    * wallet 
 +    * Using config.yaml, updates wallet keys and ensures rewards go to the right wallet.
  
   * If no old version exists, init:   * If no old version exists, init:
-    * Creates a default chia configuration+    * Creates a default chia configuration.
     * Initializes a new SSL key and cert (for secure communication with the GUI).     * Initializes a new SSL key and cert (for secure communication with the GUI).
  
Line 37: Line 38:
  
 ---- ----
- 
-===== Start the services ===== 
- 
-<code bash> 
-chia start farmer 
-</code> 
- 
-<WRAP info> 
-**NOTE:**  This will start the farmer, harvester, a full node, and the wallet. 
- 
-  * Adding **-r** at the end will restart the service. 
- 
-</WRAP> 
- 
----- 
- 
-===== Start plotting ===== 
- 
-Identify which drive you want to do the plotting on. 
- 
-<WRAP important> 
-**WARNING:**  It is not a good idea to do this on the drive that your boot lives on. 
-</WRAP> 
- 
-<code bash> 
-cd chia-blockchain 
-. ./activate 
-</code> 
- 
-The simplest command to get started with running a plot. 
- 
-<code> 
-# k = 32, this controls the size of plot. Minimum is 32 
-# n = 100, Number of plots, pick a high number 
-# t = folder location, this is where the plot gets generated with heavy Reads/Writes. You want this to be a faster drive. 
-# d = destination folder, this is the destination for where you want the final plot will stay, slower is fine.chia plots create -k 32 -n 100 -t /mnt/a/generating_plots/ -d /mnt/a/plots/ 
-</code> 
- 
-<WRAP info> 
-**NOTE:**  To disconnect from tmux, ctrl-b then d. To reattach, tmux a -t plot 
-</WRAP> 
- 
----- 
- 
-This it! You are now generating plots.  
- 
-As soon as a plot finishes, the farmer that we started earlier will pick it up and start farming. 
- 
----- 
- 
-===== Verify that farming is working ===== 
- 
-Verify this you can run while having the venv activated: 
- 
-<code bash> 
-chia farm summary 
-</code> 
- 
-Initially you should see something like this: 
- 
-<code bash> 
-Farming status: Farming 
-Total chia farmed: 0.0 
-User transaction fees: 0.0 
-Block rewards: 0.0 
-Last height farmed: 0 
-Plot count: 4 
-Total size of plots: 405.432 GiB 
-Estimated network space: 2185.329 PiB 
-Expected time to win: 2 years and 11 months 
-</code> 
  
crypto/chia/initialize.1624609046.txt.gz · Last modified: 2021/06/25 08:17 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki