Cache: save data from previous Monero block too

To improve caching of stale/outdated sidechain blocks.
This commit is contained in:
SChernykh
2023-03-31 12:52:17 +02:00
parent 080fbaa26c
commit 03eddddc0e
4 changed files with 63 additions and 13 deletions

View File

@@ -211,6 +211,8 @@ private:
hash m_getMinerDataHash;
bool m_getMinerDataPending = false;
std::atomic<uint64_t> m_lastMinerDataReceived;
};
} // namespace p2pool