Added a check for unstable hardware

This commit is contained in:
SChernykh
2023-03-28 10:14:47 +02:00
parent 5c67f0df20
commit bb80fe12a0
9 changed files with 36 additions and 16 deletions
+2 -2
View File
@@ -219,9 +219,9 @@ p2pool::~p2pool()
delete m_params;
}
bool p2pool::calculate_hash(const void* data, size_t size, uint64_t height, const hash& seed, hash& result)
bool p2pool::calculate_hash(const void* data, size_t size, uint64_t height, const hash& seed, hash& result, bool force_light_mode)
{
return m_hasher->calculate(data, size, height, seed, result);
return m_hasher->calculate(data, size, height, seed, result, force_light_mode);
}
uint64_t p2pool::get_seed_height(uint64_t height)