diff options
| author | bitflash-maintainer <noreply@bitflash.invalid> | 2026-08-08 05:28:04 +0000 |
|---|---|---|
| committer | bitflash-maintainer <noreply@bitflash.invalid> | 2026-08-23 04:37:36 +0000 |
| commit | 7a8f7e7fa767d19f44f0a6a6db84de68f812bebe (patch) | |
| tree | c1a3a661feac89ccc59b60b885f20dbdae1dab04 /src/main_gui.cpp | |
| parent | bef4f5b3a5a6f5a663b7ea7753dd57e368fd8929 (diff) | |
operator: /noannounce flag -- serve miners without publishing pool announcements
Descriptor (38501) still published so miners can resolve the pool;
only the public pool listing event (38503) is suppressed.
(cherry picked from commit 17bbdae1ec97945c37c1d5b2486e5c01a4d7ad87)
Diffstat (limited to 'src/main_gui.cpp')
| -rw-r--r-- | src/main_gui.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main_gui.cpp b/src/main_gui.cpp index d0969b5..b1fe0af 100644 --- a/src/main_gui.cpp +++ b/src/main_gui.cpp | |||
| @@ -250,6 +250,9 @@ static void ParseStartupArguments(int argc, char* argv[]) | |||
| 250 | if (!poolDash.empty()) | 250 | if (!poolDash.empty()) |
| 251 | strPoolDashboardUrl = poolDash; | 251 | strPoolDashboardUrl = poolDash; |
| 252 | 252 | ||
| 253 | if (arg(argc,argv,"/noannounce") || arg(argc,argv,"-noannounce")) | ||
| 254 | fPoolNoAnnounce = true; | ||
| 255 | |||
| 253 | string poolFee = argval2(argc, argv, "/poolfee", "-poolfee"); | 256 | string poolFee = argval2(argc, argv, "/poolfee", "-poolfee"); |
| 254 | if (!poolFee.empty()) | 257 | if (!poolFee.empty()) |
| 255 | dPoolFeePercent = atof(poolFee.c_str()); | 258 | dPoolFeePercent = atof(poolFee.c_str()); |