From 725787d6918f236a101daff21f0a7bbcf869cfda Mon Sep 17 00:00:00 2001 From: MicroGuy Date: Thu, 12 Jan 2023 11:20:23 -0600 Subject: [PATCH] Remove stratum signaling This patch fully restores the default mining configuration last seen in 0.14.8. --- src/rpc/mining.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/rpc/mining.cpp b/src/rpc/mining.cpp index 65be720d3d..d333d9386f 100644 --- a/src/rpc/mining.cpp +++ b/src/rpc/mining.cpp @@ -676,12 +676,6 @@ UniValue getblocktemplate(const JSONRPCRequest& request) result.push_back(Pair("bits", strprintf("%08x", pblock->nBits))); result.push_back(Pair("height", (int64_t)(pindexPrev->nHeight+1))); - // Signal non-mining time frame to stratum pool - - if (CBlockIndex * theBlock = GetPreviousBlock(*pblock, 5)) { - result.push_back(Pair("mining_disabled", (((pblock->GetBlockTime() - theBlock->nTime) < ((10 * 60))) || (pblock->GetBlockTime() > GetAdjustedTime()))? true : false )); - } - return result; }