-
Notifications
You must be signed in to change notification settings - Fork 2
Windows Tips and Tricks
In Windows, you can use the chinilla CLI from Windows PowerShell, allowing you more flexibility and control. PowerShell is a program where you type commands, press enter, and do things like changing folders, moving files, or running programs, like chinilla.
cd $env:userprofile\AppData\Local\Chinilla-Blockchain\app-1.1.5\resources\app.asar.unpacked\daemon\
start-process .\chinilla.exe -argumentlist "plots create yourParametersGoHere"
start-process ....
....
If start-process
doesn't work, try .\chinilla.exe plots create yourParametersGoHere
instead.
Or add the path "%USERPROFILE%\AppData\Local\chinilla-blockchain\app-1.1.5\resources\app.asar.unpacked\daemon"
to the path user variable, this way you can
execute chinilla commands, only using "chinilla" in a command window.
To add a delay between your parallel processes, you can put a sleep <seconds>
between each chinilla plots create
command, e.g. sleep 3600
to delay the next process by an hour.
cd $env:userprofile\AppData\Local\Chinilla-Blockchain\app-1.1.5\resources\app.asar.unpacked\daemon\
start-process ./chinilla.exe -argumentlist "plots create -k 32 -b 4000 -u 128 -r 4 -t d:\tempdrive1 -2 e:\tempdrive2 -d F:\plots -n 1"
The command above makes one plot (specified by -n 1
), to plot in parallel you need to repeat the command (without closing the first one). Increase the -n
value for sequential plotting, i.e. once the 1st plot is completed, the next is started.
When plotting with the GUI, the plotter will write logs in \vanillanet\plotter for each plot. Many third party tools (such as the excellent Chinilla Plot Status) rely on the logs for their information reporting. One way to have manual logs when plotting from CLI is to use the built in "tee" command like this:
.\chinilla.exe plots create -k 32 -n 2 -u 128 -t G:\ChinillaTemp -d O:\Chinilla8O -r 2 -n 5 | tee -filepath $env:userprofile\.chinilla\vanillanet\plotter\plots-5-6-2021-B.txt
Your configuration and logs are found in ~\.chinilla\vanillanet\log
and ~\.chinilla\vanillanet\config
. You can tail your logs with Get-Content ~\.chinilla\vanillanet\log\debug.log -wait
. To see more of what is going on, set your log level in config\config.yaml
to INFO from WARNING and restart. You can also use \.chinilla.exe configure --set-log-level INFO
from the app directory outlined above and then restart for the changes to take effect.
Consider going through a Windows Update check and install updates prior to starting a plot process. It can take a while, and updates might initiate a reboot. You can also go into Advanced Options to disable updates for up to 35 days at a time.
If you attempt to run more than one node on your local network, having uPnP on on both will cause both nodes significant confusion. You will need to use powershell to disable uPnP on all but one.
cd $env:userprofile\AppData\Local\Chinilla-Blockchain\app-1.1.5\resources\app.asar.unpacked\daemon\
./chinilla.exe configure --enable-upnp false
Sometimes your wallet database can get corrupted. If you get stuck on the "Connecting to wallet" spinner for more than 60 seconds, you will probably want to exit the app, delete your wallet database with Powershell, and then start the app again.
del ~\.chinilla\vanillanet\wallet\db\blockchain*
If your PowerShell plotting processes seem to pause, you should disable Quick Edit. Powershell -> Properties -> Options: Disable quick edit.
If you are still seeing this symptom it is almost always a problem with your RAM.
If you end up having your HDD or SSD have any issues that require disk repair, you will need to have free space on the disk that is larger than the largest file. For k32 plots, you will need to leave > 101 GB. This way, if your plots ever have errors (as reported by plot check tool), you will at least be able to try to repair them with CHKDSK /r. However, CHKDSK cannot repair files that are larger than the remaining free space on a drive, and will have an error
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