retry unverified blocks after get_miner_data RPC

This commit is contained in:
Matt Hess
2026-02-19 02:42:48 +00:00
parent 7eac7d4542
commit 218e04d80d
+6
View File
@@ -1939,6 +1939,12 @@ void p2pool::parse_get_miner_data_rpc(const char* data, size_t size)
}
handle_miner_data(minerData);
// Retry any unverified sidechain blocks now that new mainchain difficulty data is available.
// The ZMQ path does this at p2pool.cpp:692; the RPC path needs it too so blocks waiting on
// the current mining height's difficulty don't stall until the next ZMQ event fires.
m_sideChain->retry_unverified_blocks();
if (m_serversStarted.load() == 0) {
download_block_headers1(minerData.height);
}