Upgrade to the latest version of Chia on Ubuntu

https://github.com/Chia-Network/chia-blockchain/wiki/INSTALL#ubuntudebian

While upgrading Chia on Linux is not as simple as on Windows, it is still relatively easy.

First we need to stop the Chia service

Open up a terminal, navigate to the chia-blockchain folder, and stop the services

cd chia-blockchain
. ./activate
chia stop -d all
deactivate

Now we will need to download the latest files using git.

git fetch
git checkout latest
git reset --hard FETCH_HEAD

Now that we have the latest files, we can install the new version.

sh install.sh
. ./activate
chia init

Upgrade GUI

Upgrading the GUI is similar to the above process. Should be able to copy and paste the following commands.

cd chia-blockchain-gui
git fetch
cd ..
chmod +x ./install-gui.sh
./install-gui.sh
cd chia-blockchain-gui
npm run electron &

The last command will launch Chia GUI.

Quick Chia Command list

Here are some commands that I have found helpful when using chia.

Find and count all plots on a system. Helpful if you have a machine plotting and want to know how many plot files you have

find /mnt/ /media/ ~/ -name *.plot 2>/dev/null | grep -v tmp | grep -c . && echo "Plots found"

Create Plots with Masted Keys. You will need the keys from the master node.

chia plots create -t /media/user/plotdrivetmp -d /media/user/plotdrive -f biglongublicfarmerkeyag934gh3bh3h4 -p biglongpoolpublickey129gmc2390243t-gg49

Start or restart Chia Harvester

chia start harvester -r

How to setup a Chia Harvester on Ubuntu

A Chia Harvest is a computer that farms Chia and connects back to a Master Node. You can almost think of it like the Master Node being a Pool and the harvesters as nodes on that “pool”. In this post we’ll talk about setting up a Chia Harvester on Ubuntu. Shouldn’t matter which version of Ubuntu. LTS or the latest should work fine.

Do note that we do not need the gui installed for this to work. Refer to this post to install Chia

Note: In the following commands we are assuming that the Chia directory is in your home “~/” directory on the harvester. Change the path if different.

Before we start you will need the ca directory from your Main/Master node uploaded or accessible to your Ubuntu harvester. You can get the CA directory from the following locations on Windows and Linux.

On Linux

~/.chia/mainnet/config/ssl/ca

On Windows

C:\User\username\.chia\mainnet\config\ssl\ca

You should be able to copy and paste the following path into Explorer to get to the correct directory.

%homepath%\.chia\mainnet\config\ssl\ca
Copy Chia ca directory

Copy this folder onto your Desktop, thumbdrive, network share, just some place you can access it.

Upload ca folder

You can use scp to upload the ca folder of the Harvester. In the following example we put the ca directory on our Windows desktop and we are uploading to our harvesters home directory.

scp -r Desktop\ca user@192.168.1.5:~/

Activate Chia

The rest of the commands are run on the harvester. You can either ssh or physically log into it. If Chia was installed in a different directory, then you will need to change the path.

cd chia-blockchain 
. ./activate


Configure Harvester

You should be able to copy and paste all the following commands in, change the parts in bold as needed.

The –set-farmer-peer option is your main node’s ip address.

chia init -c ~/ca
chia stop all
chia configure --set-farmer-peer 192.168.1.4:8447
chia configure --enable-upnp false
chia plots add -d /media/user/plotdrive/
chia start harvester -r

Should be all set. You can check the Main Node to verify that the harvester is connecting.

Important Notes:
UPNP needs to be turned off. It can cause problems if there are multiple wallets running on a local network that both have upnp on.

Add your plot drive locations. We need something to harvest :)

Verify that the Linux user can write to the Chia Plot drives

The following command will give the ubuntu user write access to the drive. Change the path to your drive.

sudo chmod ugo+wx /media/username/your_drive

Creating Plots

Create plots by specifying the Farmer Public Key and the Pool Public Key. You can get these from the Main Node. Plan on adding info on how to retrieve that info soon.

chia plots create -t /media/user/plotdrivetmp -d /media/user/plotdrive -f biglongublicfarmerkeyag934gh3bh3h4 -p biglongpoolpublickey129gmc2390243t-gg49

The following link has more information.

https://github.com/Chia-Network/chia-blockchain/wiki/Farming-on-many-machines


GTX 1070 – ETH Hashrate and Power Consumption

Nvidia GTX 1070 ETH Hashrate and Power Consumption

The following is the estimated Hashrate and power consumption of a GTX 1070 based on web sources.

GTX 1070

Cost

Cost Used (eBay)
February 2021: $300 – $500

Hasrate for Ethash and Power Consumption

Hashrate: 26/Mhs

Power Consumption
Average: 130 W


Average Mhs Per Watt : 0.2/Mhs
Average Watts Per Mhs: 5 W

Profitability is about $2.97/day as of February 9, 2021

https://whattomine.com/coins/151-eth-ethash?hr=26&p=130&fee=0.0&cost=0.1&hcost=0.0&commit=Calculate

GTX 3090 – ETH Hashrate and Power Consumption

Nvidia GTX 1070 ETH Hashrate and Power Consumption

The following is the estimated Hashrate and power consumption of a GTX 1070 based on web sources.

GTX 1070

Cost

Cost Used (eBay)
February 2021: $300 – $500

Hasrate for Ethash and Power Consumption

Hashrate: 26/Mhs

Power Consumption
Average: 130 W


Average Mhs Per Watt : 0.2/Mhs
Average Watts Per Mhs: 5 W

Profitability is about $2.97/day as of February 9, 2021

https://whattomine.com/coins/151-eth-ethash?hr=26&p=130&fee=0.0&cost=0.1&hcost=0.0&commit=Calculate

Nvidia RTX 3080 – Hashrate and Power Consumption

Nvidia RTX 3080 ETH Hashrate and Power Consumption

The following is the estimated Hashrate and power consumption of a RTX 3080 based on web sources.

RTX 3080

Cost

Cost Used (eBay)
February 2021: $1600 – $2000

Hasrate for Ethash and Power Consumption

Hashrate: 97/Mhs

Power Consumption
Average: 250 W


Average Mhs Per Watt : 0.39/Mhs
Average Watts Per Mhs: 2.58 W

Profitability is about $12.45/day as of February 9, 2021

https://whattomine.com/coins/151-eth-ethash?hr=97.0&p=250.0&fee=0.0&cost=0.1&hcost=0.0&commit=Calculate

Nvidia RTX 3070 – Hashrate and Power Consumption

Nvidia RTX 3070 ETH Hashrate and Power Consumption

The following is the estimated Hashrate and power consumption of a RTX 3070 based on web sources.

RTX 3070

Cost

It seems that the hashrate and power consumption is basically the same as an RTX 3060 Ti

Cost Used (eBay)
February 2021: $950 – $1000

Hasrate for Ethash and Power Consumption

Hashrate: 62/Mhs

Power Consumption
Average: 122 W


Average Mhs Per Watt : 0.51/Mhs
Average Watts Per Mhs: 1.97 W

Profitability is about $8.39/day as of February 9, 2021

https://whattomine.com/coins/151-eth-ethash?hr=62&p=122&fee=0.0&cost=0.1&hcost=0.0&commit=Calculate

Nvidia RTX 3060 Ti – Hashrate and Power Consumption

Nvidia RTX 3060 Ti ETH Hashrate and Power Consumption

The following is the estimated Hashrate and power consumption of a RTX 3060 Ti based on web sources.

RTX 3060 Ti

Cost

Cost Used (eBay)
February 2021: $900 – $1000

Hasrate for Ethash and Power Consumption

Hashrate: 60/Mhs

Power Consumption
Average: 120 W


Average Mhs Per Watt : 0.5/Mhs
Average Watts Per Mhs: 2 W

Profitability is about $7.70/day as of February 9, 2021

https://whattomine.com/coins/151-eth-ethash?hr=60.0&p=120.0&fee=0.0&cost=0.1&hcost=0.0&commit=Calculate

Radeon RX 570 – Hashrate and Power Consumption

These are the average RX 570 hashrates I have been getting while mining Ethereum.

https://www.msi.com/Graphics-Card/Radeon-RX-570-ARMOR-8G-OC

RX 570 brand MSI Armour

Cost

Cost Used (eBay)
February 2021: $225 – $330

Hasrate and Power Consumption

Ethereum Ethash
Hashrate: 28.5/Mhs

Power Consumption
Range: 111 – 119 W
Average = ~115 W

Settings
Core: 1100
V: 800
Mem : 2000


Average Mhs Per Watt : 0.25/Mhs
Average Watts Per Mhs: 4.04 W

Profitability is about $3.36/day as of February 9, 2021

https://whattomine.com/coins/151-eth-ethash?hr=28.0&p=115.0&fee=0.0&cost=0.1&hcost=0.0&commit=Calculate