Learning PowerShell for Chia

One pro tip for grep equivalent in powershell… if you have info level logging you’ll have a bunch of logs like this in

C:\Users\user\.chia\mainnet\log

Tell me if I won any proofs / coins!

select-string -path "*.log*" -pattern "1 proof" >proofs.txt

List all my eligibility checks so I can scan the harvester times

select-string -path "*.log*" -pattern "eligible" >eligible.txt

5 Likes