From 7a8f7e7fa767d19f44f0a6a6db84de68f812bebe Mon Sep 17 00:00:00 2001 From: bitflash-maintainer Date: Sat, 8 Aug 2026 05:28:04 +0000 Subject: 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) --- src/nostr.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/nostr.cpp') diff --git a/src/nostr.cpp b/src/nostr.cpp index 6d85bf6..47f001c 100644 --- a/src/nostr.cpp +++ b/src/nostr.cpp @@ -1405,7 +1405,7 @@ void ThreadBtfPoolAnnouncer(void*) LogPrint("pool", "ThreadBtfPoolAnnouncer started\n"); while (!fShutdown) { - if (nMineMode == MINE_OPERATOR && gPoolRunning) + if (nMineMode == MINE_OPERATOR && gPoolRunning && !fPoolNoAnnounce) { BtfPoolAnnouncement ann; ann.btfAddress = BtfLocalAddress(); @@ -1763,7 +1763,7 @@ void ThreadNostrSeed(void* parg) } CATCH_PRINT_EXCEPTION("ConnectDiscoveredBtfPeers") - if (nMineMode == MINE_OPERATOR && gPoolRunning) + if (nMineMode == MINE_OPERATOR && gPoolRunning && !fPoolNoAnnounce) { BtfPoolAnnouncement ann; ann.btfAddress = BtfLocalAddress(); -- cgit v1.2.3