forked from Chia-Network/chia-blockchain
-
Notifications
You must be signed in to change notification settings - Fork 2
Create a local testnet for fast, private testing
Edward Teach edited this page Feb 28, 2022
·
1 revision
- Stop all chinilla processes. Check that they have stopped with
ps -ef | grep chinilla
- Create a new chinilla root using
export CHINILLA_ROOT="~/.chinilla/my_testnet"
, thenchinilla init
. Don't forget to export CHINILLA_ROOT, or prefix your chinilla commands withCHINILLA_ROOT="~/.chinilla/my_testnet"
if you want to run on my_testnet when starting a new terminal. - Create a new entry in config.yaml with a different GENESIS_CHALLENGE, and reduced DIFFICULTY_CONSTANT_FACTOR. 2^67 constant factor is around 110PiB assuming a fast timelord. So if you have around 110GiB, you can set it to 2 ^ 47. Decrease SUB_SLOT_ITERS_STARTING to something like 2^23 if you are using a slow computer. Decrease PLOT_FILTER if you want to have more proof checks per signage point.
- Make sure to add my_testnet to all places that need it, like network_overrides.config, and selected_network
- Change the introducer URLs to point to localhost so you don't contact the real ones
- Do
sh install-timelord.sh
- Run the system with
chinilla start all
- If you have installed the gui, run
(cd chinilla-blockchain-gui && npm run electron &)
You can generate a new genesis challenge by running python, and entering the following commands:
from secrets import token_bytes
print(token_bytes().hex())
Chinilla Network - Green money for a digital world.
- Home
- Beginners Guide
- Install instructions
- Quick Start Guide
- FAQ - Frequently Asked Questions
- Pooling FAQ
- Pooling User Guide
- Chinilla Project FAQ
- Plotting Basics
- Alternate Plotters
- Plot Sizes (k-sizes)
- CLI Commands Reference
- Windows Tips & Tricks
- How to Check if Everything is Working (or Not)
- SSD Endurance - Info on SSD's and plotting
- Reference Plotting Hardware
- Reference Farming Hardware
- Farming on Many Machines
- Good Security Practices on Many Machines
- Chinillalisp Documentation (Official)
- Chinillalisp Notes
- Timelords and Cluster Timelords
- Release Notes
- RPC Interfaces
- Resolve Sync Issues - Port 8444