diff options
| author | Nsable-sh <nsable-sh@noreply.git.bitflash.network> | 2026-08-07 17:14:36 -0300 |
|---|---|---|
| committer | Bitflash <admin@bitflash.network> | 2026-08-07 17:21:08 -0300 |
| commit | b1eb8b66b8d7b47c7fb2e85d5d4db86a11823366 (patch) | |
| tree | 8f0cb17723ce1dc434ae7be7a148f7fec3f977a0 /src/main_gui.cpp | |
| parent | 060a37de4a1f08ffb5939c8fc47a805c5d0d0024 (diff) | |
pool: publish round proof ledger
Diffstat (limited to 'src/main_gui.cpp')
| -rw-r--r-- | src/main_gui.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/main_gui.cpp b/src/main_gui.cpp index ce6d2b5..7ad2075 100644 --- a/src/main_gui.cpp +++ b/src/main_gui.cpp | |||
| @@ -126,6 +126,7 @@ static void PrintUsage() | |||
| 126 | printf(" /poolfee=PCT\n"); | 126 | printf(" /poolfee=PCT\n"); |
| 127 | printf(" /pooldashboard=URL (alias: /pooldash=URL)\n"); | 127 | printf(" /pooldashboard=URL (alias: /pooldash=URL)\n"); |
| 128 | printf(" /poolstatusfile=PATH (write pool status JSON for dashboards)\n"); | 128 | printf(" /poolstatusfile=PATH (write pool status JSON for dashboards)\n"); |
| 129 | printf(" /poolroundsfile=PATH (write public pool round proofs JSON)\n"); | ||
| 129 | printf("\n"); | 130 | printf("\n"); |
| 130 | printf(".btf and rendezvous:\n"); | 131 | printf(".btf and rendezvous:\n"); |
| 131 | printf(" /connectbtf=PEER_BTF_ADDRESS\n"); | 132 | printf(" /connectbtf=PEER_BTF_ADDRESS\n"); |
| @@ -262,6 +263,10 @@ static void ParseStartupArguments(int argc, char* argv[]) | |||
| 262 | if (!poolStatusFile.empty()) | 263 | if (!poolStatusFile.empty()) |
| 263 | strPoolStatusFile = poolStatusFile; | 264 | strPoolStatusFile = poolStatusFile; |
| 264 | 265 | ||
| 266 | string poolRoundsFile = argval2(argc, argv, "/poolroundsfile", "-poolroundsfile"); | ||
| 267 | if (!poolRoundsFile.empty()) | ||
| 268 | strPoolRoundsFile = poolRoundsFile; | ||
| 269 | |||
| 265 | string btfConnect = argval2(argc, argv, "/connectbtf", "-connectbtf"); | 270 | string btfConnect = argval2(argc, argv, "/connectbtf", "-connectbtf"); |
| 266 | if (!btfConnect.empty()) | 271 | if (!btfConnect.empty()) |
| 267 | strBtfConnect = btfConnect; | 272 | strBtfConnect = btfConnect; |