User Tools

Site Tools


network:chianetwork:testnet

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
network:chianetwork:testnet [2021/09/14 17:37] vleesbanaannetwork: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://github.com/Chia-Network/chia-blockchain/wiki/How-to-connect-to-the-Testnet for simple instructions+If you want to do it on a seperate device, please see https://github.com/Chia-Network/chia-blockchain/wiki/How-to-connect-to-the-Testnet for simple instructions.
  
 ====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'' +<code> 
- +# Install Git 
-''sudo apt install git -y'' +sudo apt install git -y 
- +# Checkout the source and install 
-''# Checkout the source and install'' +git clone https://github.com/Chia-Network/chia-blockchain.git -b latest --recurse-submodules 
- +cd chia-blockchain 
-''git clone https://github.com/Chia-Network/chia-blockchain.git -b latest --recurse-submodules'' +sh install.sh 
- +. ./activate 
-''cd chia-blockchain'' +</code>
- +
-''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) and change the 55400 to 5**8**400 (2 occurences). +To change this, we need to go to the config.yaml file and change all 8xxx ports to **5**8xxx ports (about 10 occurences)change the 55400 to 5**8**400 (2 occurences) and change the 9256 port to **5**9256 (1 occurence).
 You can do this by  You can do this by 
   * using ''nano ~/.chia/mainnet/config/config.yaml'' in the Linux CLI (use the arrow keys to navigate).   * using ''nano ~/.chia/mainnet/config/config.yaml'' in the Linux CLI (use the arrow keys to navigate).
Line 89: Line 85:
   * or do it from WSL, if you downloaded the db in e.g. ''D:\Temp'', that would be ''cp /mnt/d/Temp/blockchain_v1_mainnet.sqlite ~/.chia/mainnet/db/''   * or do it from WSL, if you downloaded the db in e.g. ''D:\Temp'', that would be ''cp /mnt/d/Temp/blockchain_v1_mainnet.sqlite ~/.chia/mainnet/db/''
  
-When you are donecopying, you can restart all the Chia processes by using ''chia start farmer''+When you are done copying, you can restart all the Chia processes by using ''chia start farmer'' 
 + 
 +If the node restarts properly, don't forget to cleanup the database backup  
 +rm ~/.chia/mainnet/db/blockchain_v1_mainnet.sqlite.bak
  
 === Synchronising peer-to-peer=== === Synchronising peer-to-peer===
network/chianetwork/testnet.1631641035.txt.gz · Last modified: 2021/09/14 17:37 by vleesbanaan

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki