Skip to content

Commit 354fbc3

Browse files
committed
number of proofs is back
1 parent ee7db43 commit 354fbc3

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,28 +7,28 @@ Simply realtime chia log analyzer
77
![Screenshot](./docs/screenshot-1.png)
88

99
## Howto run on Linux
10-
0) Download binary from the [releases](../../releases) assets (chia-log-analyzer.go-linux-amd64
11-
)
10+
0) Download binary from the [releases](../../releases) assets (chia-log-analyzer.go-linux-amd64)
11+
1212
1) You must set log level in your chia ```.chia/mainnet/config/config.yaml``` to level: INFO
1313

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

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

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

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

2222
## Howto run on Windows
23-
0) Download binary from the [releases](../../releases) assets (chia-log-analyzer.go-windows-amd64-signed.exe
24-
)
23+
0) Download binary from the [releases](../../releases) assets (chia-log-analyzer.go-windows-amd64-signed.exe)
24+
2525
1) You must set log level in your chia ```C:\Users\<CurrentUserName>\.chia\mainnet\config\config.yaml``` to level: INFO
2626

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

2929
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```
3030

31-
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```
31+
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```
3232

3333
## debug.log locations
3434
Automatically trying to load debug.log from these locations:

chia-log-analyzer.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ func main() {
116116

117117
widgetFoundProofs = widgets.NewParagraph()
118118
widgetFoundProofs.SetRect(9, 0, 46, smallWidgetHeight)
119-
widgetFoundProofs.Title = "Pool partials"
119+
widgetFoundProofs.Title = "Proofs / Pool partials"
120120
ui.Render(widgetFoundProofs)
121121

122122
widgetTotalFarmingPlotsNumber = widgets.NewParagraph()
@@ -489,9 +489,9 @@ func renderLastPlots() {
489489

490490
func renderFoundProofs() {
491491
if poolInfo.partialsCount > 0 {
492-
widgetFoundProofs.Text = fmt.Sprintf("%d (%s)", poolInfo.partialsCount, poolInfo.name)
492+
widgetFoundProofs.Text = fmt.Sprintf("%d/%d (%s)", foundProofs, poolInfo.partialsCount, poolInfo.name)
493493
} else {
494-
widgetFoundProofs.Text = "No pools detected"
494+
widgetFoundProofs.Text = fmt.Sprintf("%d/%d", foundProofs, 0)
495495
}
496496
ui.Render(widgetFoundProofs)
497497
}

0 commit comments

Comments
 (0)