network:chianetwork:testnet
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
network:chianetwork:testnet [2021/09/14 17:34] – vleesbanaan | network:chianetwork:testnet [2021/09/14 19:22] (current) – vleesbanaan | ||
---|---|---|---|
Line 3: | Line 3: | ||
Below you will find the instructions for joining testnet7 using a Windows machine. | Below you will find the instructions for joining testnet7 using a Windows machine. | ||
This guide is for farmers that want to run the testnet on the same machine as their mainnet. | This guide is for farmers that want to run the testnet on the same machine as their mainnet. | ||
- | If you want to do it on a seperate device, please see https:// | + | If you want to do it on a seperate device, please see https:// |
====Step 1 - Create a Windows Subsystem for Linux (WSL)==== | ====Step 1 - Create a Windows Subsystem for Linux (WSL)==== | ||
Line 29: | Line 29: | ||
Below you find the relevant code: | Below you find the relevant code: | ||
- | '' | + | < |
- | + | # Install Git | |
- | '' | + | sudo apt install git -y |
- | + | # Checkout the source and install | |
- | '' | + | git clone https:// |
- | + | cd chia-blockchain | |
- | '' | + | sh install.sh |
- | + | . ./activate | |
- | '' | + | </ |
- | + | ||
- | '' | + | |
- | + | ||
- | '' | + | |
Line 52: | Line 48: | ||
the previous step only changed the target network from mainnet to testnet7 and the external port from 8444 to **5**8444 in config.yaml. All other internal TCP ports are 8XXX, just like your Windows running the mainnet instance. This will lead to TCP ports conflicts. | the previous step only changed the target network from mainnet to testnet7 and the external port from 8444 to **5**8444 in config.yaml. All other internal TCP ports are 8XXX, just like your Windows running the mainnet instance. This will lead to TCP ports conflicts. | ||
- | To change this, we need to go to the config.yaml file and change all 8xxx ports to 58xxx ports (about 10 occurences) | + | To change this, we need to go to the config.yaml file and change all 8xxx ports to **5**8xxx |
You can do this by | You can do this by | ||
* using '' | * using '' | ||
Line 72: | Line 68: | ||
add '' | add '' | ||
+ | ====Step 5 - Syncing the testnet blockchain==== | ||
Now it is time to get up to speed on the testnet blockchain. | Now it is time to get up to speed on the testnet blockchain. | ||
There are two ways to sync the testnet blockchain: | There are two ways to sync the testnet blockchain: | ||
Line 77: | Line 74: | ||
* Synchronizing the blockchain through a peer-to-peer network (+-8 hours) | * Synchronizing the blockchain through a peer-to-peer network (+-8 hours) | ||
- | ===downloading | + | ===Downloading |
- You can download the testnet db file from the [[https:// | - You can download the testnet db file from the [[https:// | ||
- Stop all the chia processes with '' | - Stop all the chia processes with '' | ||
Line 88: | Line 85: | ||
* or do it from WSL, if you downloaded the db in e.g. '' | * or do it from WSL, if you downloaded the db in e.g. '' | ||
- | When you are done, copying, you can restart all the Chia processes by using '' | + | When you are done copying, you can restart all the Chia processes by using '' |
+ | |||
+ | If the node restarts properly, don't forget to cleanup the database backup | ||
+ | rm ~/ | ||
+ | === Synchronising peer-to-peer=== | ||
+ | For this method you have to do nothing but wait. | ||
+ | Keep tracking your synchronization progress by using command '' | ||
- | ==== Using testnet ==== | + | ==== Step 6 - Using testnet ==== |
Once you are fully synched, you can start making (pool) plots and interact with testnet. In the meantime, try to get your hands on some TXCH (testnet Chia) by asking your friends. Don’t have friends? No problem, you can always ask us on [[https:// | Once you are fully synched, you can start making (pool) plots and interact with testnet. In the meantime, try to get your hands on some TXCH (testnet Chia) by asking your friends. Don’t have friends? No problem, you can always ask us on [[https:// | ||
network/chianetwork/testnet.1631640856.txt.gz · Last modified: 2021/09/14 17:34 by vleesbanaan