diff options
| author | bitflash-maintainer <noreply@bitflash.invalid> | 2026-08-08 05:28:04 +0000 |
|---|---|---|
| committer | bitflash-maintainer <noreply@bitflash.invalid> | 2026-08-19 22:48:26 +0000 |
| commit | 9ac0d2d26cde1b66f5f9b712fa8087209791c352 (patch) | |
| tree | 26be976235d04136163f6edf4e82463b9f14047a /src/main_gui.cpp | |
| parent | f5d44dfc23745b13f0c7f216bc4cdcb1f8cc30d0 (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()); |