The following guide will showcase the exact steps required to deploy a BlueBox timelord on a fresh instance of Ubuntu 21.10. The steps here are mostly lifted from the excellent guide available from the SpaceFarmers Wiki but expanded on a little to deal with a totally fresh install of Ubuntu. If you already have Chia installed and are comfortable with Git their guide is totally better.
- Open a terminal in your home folder or wherever you want to store your Timelord instance
- run sudo apt install git, hit Y
- run git clone https://github.com/Chia-Network/chia-blockchain to import the Chia source code from github
- cd chia-blockchain/
- sh install.sh to install Chia on this instance
- run . ./activate to activate the virtual environment
- run sh install-timelord.sh to install the Timelord component
- run chia init to generate a new keyset (don’t use your own here, there is literally no reason to)
- run chia configure –set-log-level INFO to update the logging level
- run chia init –fix-ssl-permissions to fix certificate permissions
- browse to your /home/<username>/.chia/mainnet/config folder
- run nano config.yaml to edit your Timelord config file with the following items
- Set
timelord.sanitizer_mode
totrue
- Set
timelord_launcher.process_count
to half the number of threads you want to dedicate to the bluebox. - Set
full_node.send_uncompact_interval
to300
- Set
full_node.target_uncompact_proofs
to100
(if not already) - Set
timelord.bluebox_mode
totrue
- Set
- Save your config.yaml file and exit nano (ctrl+o and ctrl+x)
- at this point you can either import a copy of the blockchain that you have handy, or resign yourself to syncing
- browse back to your original location where you cloned chia-blockchain
- run chia start timelord and that should do it
- Once the sync process is complete and the timelord is supposedly running you can use this command to output compacted proofs to make sure everything is working
awk '/Replaced compact/ {split($1, ts, /:/); s[ts[1]]++} END {for (h in s) {print h, s[h]}}' ~/.chia/mainnet/log/debug.log | sort