crypto:chia:initialize
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
crypto:chia:initialize [2021/06/25 08:13] – [Start the wallet and generate your private key as well as passphrase] peter | crypto: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 |
+ | |||
+ | ---- | ||
+ | |||
+ | ===== Activate the virtual environment | ||
<code bash> | <code bash> | ||
- | # Activate the virtual environment in directory | + | cd chia-blockchain |
. ./activate | . ./activate | ||
</ | </ | ||
Line 20: | 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. | ||
- | | + | |
- | * config (including old SSL files) | + | |
- | * db | + | * config (including old SSL files) |
- | * wallet | + | * db |
- | * Using config.yaml, | + | * wallet |
+ | * Using config.yaml, | ||
* 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 33: | Line 38: | ||
---- | ---- | ||
- | |||
- | ===== Start the services ===== | ||
- | |||
- | <code bash> | ||
- | chia start farmer | ||
- | </ | ||
- | |||
- | <WRAP info> | ||
- | **NOTE: | ||
- | |||
- | * Adding **-r** at the end will restart the service. | ||
- | |||
- | </ | ||
- | |||
- | ---- | ||
- | |||
- | ===== Start plotting ===== | ||
- | |||
- | Identify which drive you want to do the plotting on. | ||
- | |||
- | <WRAP important> | ||
- | **WARNING: | ||
- | </ | ||
- | |||
- | First, lets use tmux to help ensure this runs after we disconnect | ||
- | |||
- | <code bash> | ||
- | sudo apt-get install tmux -y# Start tmux | ||
- | tmux new -s plot# Activate venv | ||
- | cd chia-blockchain | ||
- | . ./activate | ||
- | </ | ||
- | |||
- | The simplest command to get started with running a plot. | ||
- | |||
- | < | ||
- | # 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/ | ||
- | # 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 / | ||
- | </ | ||
- | |||
- | <WRAP info> | ||
- | **NOTE: | ||
- | </ | ||
- | |||
- | ---- | ||
- | |||
- | 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 | ||
- | </ | ||
- | |||
- | 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 | ||
- | </ | ||
crypto/chia/initialize.1624608821.txt.gz · Last modified: 2021/06/25 08:13 by peter