Create msvc-analysis.yml

This commit is contained in:
SChernykh
2021-10-27 15:16:25 +02:00
parent c21c9615a3
commit 6a002cda46
3 changed files with 67 additions and 6 deletions
+3 -3
View File
@@ -157,9 +157,9 @@ private:
struct SubmitBlockData
{
uint32_t template_id;
uint32_t nonce;
uint32_t extra_nonce;
uint32_t template_id = 0;
uint32_t nonce = 0;
uint32_t extra_nonce = 0;
std::vector<uint8_t> blob;
};
+3 -3
View File
@@ -44,8 +44,8 @@ private:
struct ThreadSafeVM
{
uv_mutex_t mutex;
randomx_vm* vm;
uv_mutex_t mutex{};
randomx_vm* vm = nullptr;
};
p2pool* m_pool;
@@ -62,7 +62,7 @@ private:
// 1: light VM for the previous seed
// 2: full dataset VM for the current seed
enum { FULL_DATASET_VM = 2 };
ThreadSafeVM m_vm[3];
ThreadSafeVM m_vm[3]{};
hash m_seed[2];
uint32_t m_index;