Skip to content

Commit

Permalink
number of proofs is back
Browse files Browse the repository at this point in the history
  • Loading branch information
kubec committed Jul 24, 2021
1 parent ee7db43 commit 354fbc3
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,28 +7,28 @@ Simply realtime chia log analyzer
![Screenshot](./docs/screenshot-1.png)

## Howto run on Linux
0) Download binary from the [releases](../../releases) assets (chia-log-analyzer.go-linux-amd64
)
0) Download binary from the [releases](../../releases) assets (chia-log-analyzer.go-linux-amd64)

1) You must set log level in your chia ```.chia/mainnet/config/config.yaml``` to level: INFO

![Screenshot](./docs/screenshot-2.png)

2) Set binary as executable: ```chmod +x chia-log-analyzer.go-linux-amd64```
2) Set binary as executable: ```chmod +x chia-log-analyzer.go-linux-amd64```

3) Run executable with path do debug.log: ```./chia-log-analyzer.go-linux-amd64 --log=/path/to/debug.log```
3) Run executable with path to debug.log: ```./chia-log-analyzer.go-linux-amd64 --log=/path/to/debug.log```

4) Or simply copy binary file to the directory with logs and run without parameters ```./chia-log-analyzer.go-linux-amd64```

## Howto run on Windows
0) Download binary from the [releases](../../releases) assets (chia-log-analyzer.go-windows-amd64-signed.exe
)
0) Download binary from the [releases](../../releases) assets (chia-log-analyzer.go-windows-amd64-signed.exe)

1) You must set log level in your chia ```C:\Users\<CurrentUserName>\.chia\mainnet\config\config.yaml``` to level: INFO

![Screenshot](./docs/screenshot-2.png)

2) Simply copy exe file to the directory with logs (```C:\Users\<CurrentUserName>\.chia\mainnet\log```) and run ```chia-log-analyzer.go-windows-amd64-signed.exe```

3) Or run executable with path do debug.log: ```chia-log-analyzer.go-windows-amd64-signed.exe --log=:\Users\<CurrentUserName>\.chia\mainnet\log\debug.log```
3) Or run executable with path to debug.log: ```chia-log-analyzer.go-windows-amd64-signed.exe --log=:\Users\<CurrentUserName>\.chia\mainnet\log\debug.log```

## debug.log locations
Automatically trying to load debug.log from these locations:
Expand Down
6 changes: 3 additions & 3 deletions chia-log-analyzer.go
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ func main() {

widgetFoundProofs = widgets.NewParagraph()
widgetFoundProofs.SetRect(9, 0, 46, smallWidgetHeight)
widgetFoundProofs.Title = "Pool partials"
widgetFoundProofs.Title = "Proofs / Pool partials"
ui.Render(widgetFoundProofs)

widgetTotalFarmingPlotsNumber = widgets.NewParagraph()
Expand Down Expand Up @@ -489,9 +489,9 @@ func renderLastPlots() {

func renderFoundProofs() {
if poolInfo.partialsCount > 0 {
widgetFoundProofs.Text = fmt.Sprintf("%d (%s)", poolInfo.partialsCount, poolInfo.name)
widgetFoundProofs.Text = fmt.Sprintf("%d/%d (%s)", foundProofs, poolInfo.partialsCount, poolInfo.name)
} else {
widgetFoundProofs.Text = "No pools detected"
widgetFoundProofs.Text = fmt.Sprintf("%d/%d", foundProofs, 0)
}
ui.Render(widgetFoundProofs)
}
Expand Down

0 comments on commit 354fbc3

Please sign in to comment.