diff --git a/src/p2pool.cpp b/src/p2pool.cpp index df0ff15..ddf8eeb 100644 --- a/src/p2pool.cpp +++ b/src/p2pool.cpp @@ -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); }